- class matlantis_features.features.base.FeatureBaseCaller(name: str, base: Any, attr: Any)#
-
Bases:
type
The metaclass used in constructing the feature.
Methods
__init__
(*args, **kwargs)__call__
(*args, **kwargs)Call self as a function.
call_decorate
(derived_call)Decorate the __call__ function of the feature.
mro
()Return a type’s method resolution order.
- __init__(*args, **kwargs)#
- __call__(*args, **kwargs)#
-
Call self as a function.
- classmethod call_decorate(derived_call: Callable[[…], T]) Callable[[…], T] #
-
Decorate the __call__ function of the feature.
- Parameters
-
derived_call (… -> T) – The original __call__ function of the feature.
- Returns
-
The decorated __call__ function.
- Return type
-
… -> T
- mro()#
-
Return a type’s method resolution order.
Resource Library
matlantis_features.features.base.FeatureBaseCaller