MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __sub__

Method __sub__

lib/sqlalchemy/dialects/postgresql/ranges.py:624–625  ·  view source on GitHub ↗
(self, other: Range[_T])

Source from the content-addressed store, hash-verified

622 assert False, f"Unhandled case computing {self} - {other}"
623
624 def __sub__(self, other: Range[_T]) -> Range[_T]:
625 return self.difference(other)
626
627 def intersection(self, other: Range[_T]) -> Range[_T]:
628 """Compute the intersection of this range with the `other`.

Callers

nothing calls this directly

Calls 1

differenceMethod · 0.95

Tested by

no test coverage detected