treams._operators.Operator#
- class treams._operators.Operator(*args, isinv=False)[source]#
Operator base class.
An operator is mainly intended to be used as a descriptor on a class. It will then automatically obtain attributes from the class that correspond to the variable names of the function that is linked to the operator in the class attribute _FUNC. When called, the remaining arguments have to be specified.
Methods
__init__(*args[, isinv])get_kwargs(obj[, dim])Attributes
FUNCinvisinv