caf.toolkit.config_base#

Base config class for storing and reading parameters for any NorMITs demand script.

Functions

asdict(obj, *[, dict_factory])

Return the fields of a dataclass instance as a new dictionary mapping field names to field values.

is_dataclass(obj)

Returns True if obj is a dataclass or an instance of a dataclass.

overload(func)

Decorator for overloaded functions/methods.

write_config(yaml, path, *[, ...])

Write data from self to a YAML file.

Classes

Any(*args, **kwargs)

Special type indicating an unconstrained type.

BaseConfig()

Base class for storing model parameters.

Path(*args, **kwargs)

PurePath subclass that can make system calls.