You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
246 B
14 lines
246 B
3 years ago
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class ConfigSchema(BaseModel):
|
||
|
socket_path: str
|
||
|
variables_path: str
|
||
|
commands_path: str
|
||
|
|
||
|
logger_config: dict
|
||
|
|
||
|
class Config:
|
||
|
min_any_str_length = 1
|
||
|
anystr_strip_whitespace = True
|