This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.
When installing dependencies, version sqlaclhemy==1.4.36 is installed. It contains a bug that makes relationships to other tables not work. Even sa_relationship_kwargs={"lazy": "selectin"} parameter doesn't help. On version 1.4.35 this error disappears
How to reproduce the error with the old poetry.lock and pyproject.toml files:
When installing dependencies, version sqlaclhemy==1.4.36 is installed. It contains a bug that makes relationships to other tables not work. Even
sa_relationship_kwargs={"lazy": "selectin"}
parameter doesn't help. On version 1.4.35 this error disappearsHow to reproduce the error with the old poetry.lock and pyproject.toml files:
/api/v1/team
with any parameters/api/v1/team/{team_id}
with parameter team_id=1Translated with www.DeepL.com/Translator (free version)