imaging_api.config
Attributes
Classes
Common settings shared across all environments (development and production). |
Functions
|
Get the application settings. |
Module Contents
- class imaging_api.config.Settings
Bases:
pydantic_settings.BaseSettingsCommon settings shared across all environments (development and production).
- ENV: Literal['development', 'production'] = 'development'
- classmethod coerce_empty_env(v: str) str
Treat empty-string ENV (e.g. from CI environment injection) as ‘development’.
- LOG_LEVEL: str = 'INFO'
- XNAT_PORT: int
- PACS_ID: int
- XNAT_URL: str
- XNAT_SERVICE_USER: str
- XNAT_SERVICE_PASSWORD: str
- XNAT_DATABASE_URL: str
- DATA_ACCESS_API_URL: str
- BASE_IMAGES_DOWNLOAD_DIR: str
- AES_KEY_BASE64: str
- TRUST_INTERNAL_SERVICE_KEY_HEADER: str = 'X-Trust-Internal-Service-Key'
- TRUST_INTERNAL_SERVICE_KEY: str = ''
- REIMPORT_STUDIES_ENABLED: bool = True
- imaging_api.config._settings