CustomSection

class ase2sprkkr.common.configuration_containers.CustomSection(definition, container=None)[source]

Custom task section. Section created by user with no definition

Class hierarchy

Inheritance diagram of ase2sprkkr.common.configuration_containers.CustomSection

Constructor

__init__(definition, container=None)

Create the container and its members, according to the definition

remove()[source]

Remove the custom section from the parent container

classmethod factory(definition_type)[source]

Create a factory for custom values.

Parameters

definition_type (ase2sprkkr.common.configuration_definitions.BaseDefinition) – Type (definitions) of the custom values created by the resulting function

Returns

factory – Factory function of the signature (name: str, container: ase2sprkkr.common.configuration_containers.ConfigurationContainer) that created a custom value or section of the given definition

Return type

callable