.. | ||
src | ||
.gitignore | ||
README.md | ||
requirements.txt |
Juggl API
Installation
Minimum Python version: 3.10
Create virtual environment:
$ python3.10 -m venv/ ./venv/
Activate virtual environment (Linux):
$ source venv/bin/activate
Activate virtual environment (Windows):
$ .venv\Scripts\activate
Guidelines
All routes and should be async for maximum performance
Always specify the response_model
in the route decorator and use the same type as type hint for the function return
type. FastAPI is unfortunately not yet smart enough to determine the response_model
from the return type hint.
Maybe we should consider making a pull request...