adds "testing" operation mode

This commit is contained in:
Mose Müller 2024-08-20 08:29:54 +02:00
parent 52e4647433
commit b7ab364aab

View File

@ -5,7 +5,7 @@ from confz import BaseConfig, EnvSource
class OperationMode(BaseConfig): # type: ignore[misc] class OperationMode(BaseConfig): # type: ignore[misc]
environment: Literal["development", "production"] = "development" environment: Literal["testing", "development", "production"] = "development"
CONFIG_SOURCES = EnvSource(allow=["ENVIRONMENT"]) CONFIG_SOURCES = EnvSource(allow=["ENVIRONMENT"])