title: Generating models from Database with FastAPI and SQLAlchemy
body: <p>I have a Django project running on production with PostgreSQL.</p>
  <p>I want to spin a separate FastAPI microservice to do a specific task, and I want it to communicate directly with the database I have hooked up with Django.</p>
  <p>I do not want to rewrite all the models in FastAPI using pydantic, and at the same time I don't want to make a mistake.</p>
  <p>In Django, there is <code>python manage.py inspectdb</code> to automatically generate models using an existing database. Is there an equivalent in FastAPI, SQLAlchemy or Pydantic?</p>