sup3r.preprocessing.base.Sup3rMeta

sup3r.preprocessing.base.Sup3rMeta#

class Sup3rMeta(name, bases, namespace, **kwargs)[source]#

Bases: ABCMeta, type

Meta class to define __name__, __signature__, and __subclasscheck__ of composite and derived classes. This allows us to still resolve a signature for classes which pass through parent args / kwargs as *args / **kwargs or those built through factory composition, for example.

Define __name__ and __signature__

Methods

mro()

Return a type's method resolution order.

register(subclass)

Register a virtual subclass of an ABC.

__call__(*args, **kwargs)#

Call self as a function.

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.