fund: Improve type signature.
This commit is contained in:
parent
7702a1f03c
commit
ceb0c451fa
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class ODSReport(core.BaseODS[FundPosts, None]):
|
|||
self.document.spreadsheet.childNodes.reverse()
|
||||
self.sheet = start_sheet
|
||||
|
||||
def _row_balances(self, accounts_map: AccountsMap) -> Iterable[core.Balance]:
|
||||
def _row_balances(self, accounts_map: AccountsMap) -> Iterator[core.Balance]:
|
||||
acct_order = ['Income', 'Expenses', 'Equity']
|
||||
key_order = [core.OPENING_BALANCE_NAME, *acct_order, core.ENDING_BALANCE_NAME]
|
||||
balances: Dict[str, core.Balance] = {key: core.MutableBalance() for key in key_order}
|
||||
|
|
Loading…
Reference in a new issue