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
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
Config
¶
Pydantic config for the OteApiCoreSettings.
Source code in oteapi/settings.py
25 26 27 28 |
|