mirror of
https://github.com/Cian-H/I-Form_Server_Node_Deployer.git
synced 2025-12-22 22:22:02 +00:00
Tweaked for PEP695 compliance
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from pathlib import Path
|
||||
from types import SimpleNamespace
|
||||
from typing import Union
|
||||
|
||||
import docker
|
||||
import tomllib
|
||||
@@ -19,7 +18,7 @@ def __get_project_root():
|
||||
|
||||
PROJECT_ROOT: Path = __get_project_root()
|
||||
|
||||
ConfigLabel = Union[str, list[str]] # After PEP695 support: type ConfigLabel = str | list[str]
|
||||
type ConfigLabel = str | list[str]
|
||||
|
||||
|
||||
class Config(SimpleNamespace):
|
||||
|
||||
Reference in New Issue
Block a user