import os from dataclasses import dataclass @dataclass(frozen=True) class RuntimeConfig: app_version: str = os.getenv("APP_VERSION", "dev") git_commit: str = os.getenv("GIT_COMMIT", "local") build_number: str = os.getenv("BUILD_NUMBER", "-") commit_author: str = os.getenv("COMMIT_AUTHOR", "local") settings = RuntimeConfig()