updating config.py

This commit is contained in:
Mose Müller 2023-08-02 12:06:22 +02:00
parent 2c9f1be4a9
commit 1f4c3db9bb

View File

@ -1,10 +1,7 @@
from pathlib import Path
from typing import Literal from typing import Literal
from confz import ConfZ, ConfZEnvSource from confz import ConfZ, ConfZEnvSource
CONFIG_DIR = Path(__file__).parent.parent.parent.resolve() / "config"
class OperationMode(ConfZ): # type: ignore class OperationMode(ConfZ): # type: ignore
environment: Literal["development"] | Literal["production"] = "production" environment: Literal["development"] | Literal["production"] = "production"