t9k.config
t9k.config.Config
Config()
SDK config.
Methods
get
get(self, key: str, default: Any = None) ‑> Any
items
items(self) ‑> ItemsView[str, Any]
to_dict
to_dict(self) ‑> Dict[str, Any]
update
update(self, new_config: Dict[str, Any]) ‑> None
t9k.config.ConfigItem
ConfigItem(name: str, value: Optional[Any] = None, processor: Union[Callable, Sequence[Callable], None] = None, validator: Union[Callable, Sequence[Callable], None] = None, hook: Union[Callable, Sequence[Callable], None] = None)
SDK config item.
Attributes
-
name (str)
Name of config item.
-
value (Any)
Value of config item.