@staticmethod
    def _commutative_binop(op_name, lhs, rhs):
        if not isinstance(lhs, MDFNode):
            lhs, rhs = rhs, lhs
        return MDFNode._op(op_name, lhs, rhs)
For commutative operators where order doesn't matter (e.g. addition: x + y == y + x)
dataset/ETHPy150Open manahl/mdf/mdf/nodes.py/MDFNode._commutative_binop