Handling Circular Imports in Pydantic models with FastAPI
I’m developing a FastAPI application organized with the following module structure.
How can I validate SQLAlchemy relationships using Pydantic model_validate while avoiding circular imports?
I have the following project hierarchy