feat: move endpoints into custom routers, resolves #12 (#14)

* refactor: import routers from old branch

* refactor: import InternalCache removal

* refactor: move routes into dedicated routers

* fix: fixes entrypoint

* refactor: add documentation and bump libs
This commit is contained in:
Alexandre Teles
2022-10-11 00:10:56 -03:00
committed by GitHub
parent 6133b4f776
commit 0ce5780a4e
40 changed files with 859 additions and 734 deletions

9
app/dependencies.py Normal file
View File

@ -0,0 +1,9 @@
import toml
def load_config() -> dict:
"""Loads the config.toml file.
Returns:
dict: the config.toml file as a dict
"""
return toml.load("config.toml")