clearpath_config.common.types.config module

class clearpath_config.common.types.config.BaseConfig(template: dict, config: dict = {}, parent_key: str | None = None)

Bases: object

DLIM = '.'
property config: dict

Return configuration dictionary.

classmethod get_namespace() str
classmethod get_platform_model() str
classmethod get_serial_number(prefix: bool = False) str
classmethod get_unit_number() str
getter(prop: property)
set_config_param(key: str, value: Any) None
classmethod set_namespace(namespace: str | Namespace) None
classmethod set_serial_number(sn: str) None
setter(prop: property)
property template: dict

Return template configuration dictionary.

update(serial_number=False) None

Update any variables based on inputs.