meld.system.scalers.ScalerRegistry
- class meld.system.scalers.ScalerRegistry(name, bases, attrs)[source]
Bases:
type
Metaclass that maintains a registry of scaler types.
All classes that decend from Scaler inherit ScalerRegistry as their metaclass. ScalerRegistry will automatically maintain a map between the class attribute ‘_scaler_key_’ and all scaler types.
The function get_constructor_for_key is used to get the class for the corresponding key.
Methods
__init__
(name, bases, attrs)Get the constructor for the scaler type matching key.
mro
()Return a type's method resolution order.