summaryrefslogtreecommitdiff
path: root/src/home/config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/config/config.py')
-rw-r--r--src/home/config/config.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/home/config/config.py b/src/home/config/config.py
index 5305039..e1a089d 100644
--- a/src/home/config/config.py
+++ b/src/home/config/config.py
@@ -9,7 +9,6 @@ from typing import Optional, Any, MutableMapping, Union
from argparse import ArgumentParser
from enum import Enum, auto
from os.path import join, isdir, isfile
-from . import validators
from ..util import parse_addr
@@ -19,21 +18,6 @@ class RootSchemaType(Enum):
LIST = auto()
-_my_validators = {}
-
-
-def _get_validator(name: str) -> Optional[callable]:
- if hasattr(validators, f'{name}_validator'):
- return getattr(validators, f'{name}_validator')
- if name in _my_validators:
- return _my_validators[name]
- return None
-
-
-def add_validator(name: str, f: callable):
- _my_validators[name] = f
-
-
class ConfigUnit:
NAME = 'dumb'