Tom Hacohen
2e21fe4994
Django db cleanup: explicitly add it to dependencies.
...
We can't really add it manually, because some of the deps are auto included as
parameters. These were not being decorated which in turn meeant issues.
4 years ago
Tom Hacohen
6738c2cf20
Remove unused variable.
4 years ago
Tom Hacohen
64be7f10bd
Remove all of the needless async decorators.
...
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.
4 years ago
Tom Hacohen
a7fdb4a108
More typing fixes.
4 years ago
Tom Hacohen
709bc6c1fc
Improve typing information.
4 years ago
Tom Hacohen
332f7e2332
Fix Python 3.7 compatibility
...
Both cached_property and Literal were introduced in Python 3.8 so they
can't be used.
4 years ago
Tom Hacohen
dbdff06e68
Move all the routers under their own dir.
4 years ago