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

Method __rpow__

lib/sqlalchemy/sql/operators.py:2106–2116  ·  view source on GitHub ↗

Implement the ``**`` operator in reverse. .. seealso:: :meth:`.ColumnOperators.__pow__`. .. versionadded:: 2.1

(self, other: Any)

Source from the content-addressed store, hash-verified

2104 return self.operate(pow_, other)
2105
2106 def __rpow__(self, other: Any) -> ColumnOperators:
2107 """Implement the ``**`` operator in reverse.
2108
2109 .. seealso::
2110
2111 :meth:`.ColumnOperators.__pow__`.
2112
2113 .. versionadded:: 2.1
2114
2115 """
2116 return self.reverse_operate(pow_, other)
2117
2118
2119_commutative: Set[Any] = {eq, ne, add, mul}

Callers

nothing calls this directly

Calls 1

reverse_operateMethod · 0.95

Tested by

no test coverage detected