pyiron_base.storage.has_stored_traits.ABCTraitsMeta#
- class pyiron_base.storage.has_stored_traits.ABCTraitsMeta(name: str, bases: tuple[type, ...], classdict: dict[str, Any], **kwds: Any)[source]#
Bases:
MetaHasTraits,ABCMetaJust a bookkeeping necessity for classes that inherit from both ABC and HasTraits.
- __init__(name: str, bases: tuple[type, ...], classdict: dict[str, Any], **kwds: Any) None#
Finish initializing the HasDescriptors class.
Methods
__init__(name, bases, classdict, **kwds)Finish initializing the HasDescriptors class.
mro()Return a type's method resolution order.
register(subclass)Register a virtual subclass of an ABC.
setup_class(classdict)Setup descriptor instance on the class
- mro()#
Return a type’s method resolution order.
- register(subclass)#
Register a virtual subclass of an ABC.
Returns the subclass, to allow usage as a class decorator.
- setup_class(classdict: dict[str, Any]) None#
Setup descriptor instance on the class
This sets the
this_classandnameattributes of each BaseDescriptor in the class dict of the newly createdclsbefore calling theirclass_initmethod.