MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / __rlshift__

Method __rlshift__

lib/sqlalchemy/sql/operators.py:834–841  ·  view source on GitHub ↗

Implement the ``<<`` operator in reverse. Not used by SQLAlchemy core, this is provided for custom operator systems which want to use << as an extension point.

(self, other: Any)

Source from the content-addressed store, hash-verified

832 return self.operate(lshift, other)
833
834 def __rlshift__(self, other: Any) -> ColumnOperators:
835 """Implement the ``<<`` operator in reverse.
836
837 Not used by SQLAlchemy core, this is provided
838 for custom operator systems which want to use
839 << as an extension point.
840 """
841 return self.reverse_operate(lshift, other)
842
843 def __rshift__(self, other: Any) -> ColumnOperators:
844 """Implement the ``>>`` operator.

Callers

nothing calls this directly

Calls 1

reverse_operateMethod · 0.95

Tested by

no test coverage detected