avoid n+1
| .gitignore | ||
| .python-version | ||
| api.py | ||
| database.py | ||
| dependencies.py | ||
| hello.py | ||
| justfile | ||
| models.py | ||
| pyproject.toml | ||
| README.md | ||
| service.py | ||
| uv.lock | ||
Learning nested models
This repo is for learning.
- avoid n + 1 performance slowdown
- avoid over selecting from the database blowing up memory
Services architecture
- api.py
- models.py
- routes.py
- service.py