Increase spacing in modules
This commit is contained in:
parent
7da4bf36d5
commit
7e2c802364
12 changed files with 21 additions and 3 deletions
|
|
@ -10,11 +10,14 @@ from typing import Any, Dict
|
|||
|
||||
__all__ = ["Fields", "Config", "ConfigView"]
|
||||
|
||||
|
||||
Fields = Dict[str, Any]
|
||||
|
||||
|
||||
class ConfigException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class Config:
|
||||
@staticmethod
|
||||
def from_tree(tree: Any, prefix: str = "") -> Fields:
|
||||
|
|
@ -109,6 +112,7 @@ class Config:
|
|||
both.update(self.fields)
|
||||
return self.to_tree(both)
|
||||
|
||||
|
||||
class ConfigView:
|
||||
def __init__(self,
|
||||
fields: Any,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue