ss_python.settings

Settings Module.

pydantic settings ss_python.settings.GlobalSettings[source]

System level settings.

Fields:
field ci: bool = False

Indicator for whether or not in CI/CD environment.

pydantic settings ss_python.settings.Settings[source]

Project specific settings.

Config:
  • env_prefix: str = SS_PYTHON_

Fields:
field logging_level: str | None = 'INFO'

Default logging level for the project.

ss_python.settings.global_settings = GlobalSettings(ci=True)

Instance for system level settings.

ss_python.settings.settings = Settings(logging_level='INFO')

Instance for project specific settings.