energy_fault_detector.registration
Class for registering classes of different types.
- class Registry
Bases:
objectRegistry for classes to get the class by name and type.
- get(class_type, class_name)
Get a class by class_type and class_name from the registry
- Return type:
TypeVar(SomeClass)
- get_alternative_class_names(class_name)
Get all alternative class names of the given class
- register(module_path, class_type, class_names)
Register a class to refer to in the configuration.
- Parameters:
- Return type:
- register(**kwargs)
Shorthand function for registration