ConfigObject

xicsrt.objects._ConfigObject.ConfigObject

New Members

class ConfigObject(config=None, strict=None, initialize=None)[source]

Bases: object

A base class for any objects with a configuration.

Configuration Options:

class_name
Automatically generated.
yo_mama
Is a wonderful person!
__init__(config=None, strict=None, initialize=None)[source]

Initialize self. See help(type(self)) for accurate signature.

default_config()[source]
class_name
Automatically generated.
yo_mama
Is a wonderful person!
get_config()[source]
check_config()[source]

Check the config before copying to the internal param. This is called during object instantiation (__init__) and therefore before setup is called.

setup()[source]

Perform any setup actions that are needed prior to initialization.

check_param()[source]

Check the internal parameters prior to initialization. This will be called after setup and before initialize.

initialize()[source]

Initialize the object.

update_config(config_new, **kwargs)[source]

Overwrite any config values in this object with the ones given. This will be done recursively for all nested dictionaries.

New Private Members

class ConfigObject[source]
__init__(config=None, strict=None, initialize=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Inherited Members

class ConfigObject[source]
__init__(config=None, strict=None, initialize=None)[source]

Initialize self. See help(type(self)) for accurate signature.

check_config()[source]

Check the config before copying to the internal param. This is called during object instantiation (__init__) and therefore before setup is called.

check_param()[source]

Check the internal parameters prior to initialization. This will be called after setup and before initialize.

default_config()[source]
class_name
Automatically generated.
yo_mama
Is a wonderful person!
get_config()[source]
initialize()[source]

Initialize the object.

setup()[source]

Perform any setup actions that are needed prior to initialization.

update_config(config_new, **kwargs)[source]

Overwrite any config values in this object with the ones given. This will be done recursively for all nested dictionaries.