The code uses the django ORM which is sync, and fastapi handles sync paths just fine. So having all of this extra code for handling async was unnecessary. |
||
|---|---|---|
| .. | ||
| routers | ||
| sendfile | ||
| __init__.py | ||
| dependencies.py | ||
| exceptions.py | ||
| main.py | ||
| middleware.py | ||
| msgpack.py | ||
| stoken_handler.py | ||
| utils.py | ||