I have a Django project running on production with PostgreSQL.
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.
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.
In Django, there is python manage.py inspectdb to automatically generate models using an existing database. Is there an equivalent in FastAPI, SQLAlchemy or Pydantic?