settings¶
BaseSettings for oteapi-core.
This configuration/settings
-class is intended to be incorporated as a
parentclass into the configuration of an FastAPI application.
See https://fastapi.tiangolo.com/advanced/settings/
as reference.
Otherwise, check https://github.com/EMMC-ASBL/oteapi-services/blob/master/app/main.py
for a direct example of an inclusion of the OTE api and its settings into an FastAPI
instance.
OteApiCoreSettings
¶
Bases: BaseSettings
Basic configuration for the oteapi-core.
Source code in oteapi/settings.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|