Module#

class Module(params=None, **kwargs)#

Bases: object

Module to which the data-manager delegates some functionality.

Parameters:

params (t.Any | None)

__init__(params=None, **kwargs)#
Parameters:

params (Any | None)

__repr__()#

Return repr(self).

Return type:

str

__weakref__#

list of weak references to the object

_allow_instantiation_failure: bool = True#

Whether exception will be raised or not during instantiation.

_is_setup: bool = False#

Keep track if the module has been set up.

_lines()#

Lines to show in DataManager repr (human readable).

Return type:

list[str]

dm: Dataset#

Parent dataset.

property params: Any#

Parameters of the data manager.

setup()#

Initialize module.

Return type:

None

setup_safe()#

Initialize module safely.

Will only run if _is_setup is False. Errors are logged and ignored.

Return type:

None