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

Method __eq__

test/ext/test_hybrid.py:2029–2030  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

2027 return self.amount > other.as_currency(self.currency).amount
2028
2029 def __eq__(self, other):
2030 return self.amount == other.as_currency(self.currency).amount
2031
2032 def as_currency(self, other_currency):
2033 return Amount(

Callers

nothing calls this directly

Calls 1

as_currencyMethod · 0.80

Tested by

no test coverage detected