Aggregator Utils#
These functions are used to assist in the aggregator connector functionality.
- class fma_core.workflows.aggregator_utils.AutoSubRegistrationMeta(clsname: str, bases: Tuple[type, ...], attrs: Dict[str, object])#
Bases:
ABCMeta
For registering subclasses.
Create auto registration object and return new class.
- Parameters:
clsname (str) – Class name of the object that is being registered
bases (Tuple[type, ...]) – A tuple containing the base classes, in the order of their occurrence in the base class list.
attrs (Dict[str, object]) – Attributes used to create the object
- Returns:
A newly created class
- Return type:
Any
- 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.