budosystems.storage.query.ClosedOperationExpression

class ClosedOperationExpression

Bases: OperationExpression[ExpressionResult, ExpressionResult]

Evaluable operator_func expression which give results of the same type as it’s operands

async eval() ExpressionResult

Evaluates the operands according to the operator_func.

This default implementation assumes binary operators that evaluate to the same type as its operands.