. ├── alembic/ # Database migrations ├── app/ # Application code │ ├── api/ # API routes │ │ └── v1/ # API version 1 │ │ ├── endpoints/ # API endpoints │ │ └── api.py # API router │ ├── core/ # Core ...
Note that the session object provided by db.session is based on the Python3.7+ ContextVar. This means that each session is linked to the individual request context in which it was created.