mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-22 01:00:02 +02:00
updating config.py
This commit is contained in:
parent
2c9f1be4a9
commit
1f4c3db9bb
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user