pydantic_configmanager
¶
Top-level package for Pydantic Configuration Manager.
Classes¶
EnvironmentBaseModel
: Pydantic BaseSettings class with extended environment variable generation and template output.SettingsConfig
: Undocumented.
- class pydantic_configmanager.EnvironmentBaseModel(_env_file='<object object>', _env_file_encoding=None, _secrets_dir=None, **values)[source]¶
Pydantic BaseSettings class with extended environment variable generation and template output.
This is useful in production for secrets you do not wish to save in code, it plays nicely with docker(-compose), Heroku, Kubernetes, Openshift and any 12 factor app design.
Inheritance
- Parameters
_env_file (Optional[Union[pathlib.Path, str]]) –
_env_file_encoding (Optional[str]) –
_secrets_dir (Optional[Union[pathlib.Path, str]]) –
values (Any) –
- Return type
None