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

Method balance

test/ext/test_hybrid.py:2062–2064  ·  view source on GitHub ↗

Return an Amount view of the current balance.

(self)

Source from the content-addressed store, hash-verified

2060
2061 @hybrid.hybrid_property
2062 def balance(self):
2063 """Return an Amount view of the current balance."""
2064 return Amount(self._balance, "usd")
2065
2066 @balance.setter
2067 def balance(self, value):

Callers

nothing calls this directly

Calls 2

AmountClass · 0.85
as_currencyMethod · 0.80

Tested by

no test coverage detected