HasDeclaritiveAttributes

Defined in module: wield.declarative.properties.bases.HasDeclaritiveAttributes

class HasDeclaritiveAttributes(*args, **kwargs)[source][github]

Bases: SuperBase

This base class allows class instances to automatically constructs instance objects declared using the declarative_instantiation. Declarations using that decorator and this subclass have an advantage in that instantiation order doesn’t matter, because instantiation happens as needed via the memoization quality of declarative_instantiation attributes, and all attributes are instantiated via the qualities of this class.

Note

Subclasses must use cooperative calls to super().__init__

__init__(**kwargs)[source][github]

Methods

__init__(**kwargs)