Removed the unused and empty __get_category method from the IncomeStatement report.

This commit is contained in:
依瑪貓 2023-03-07 12:54:11 +08:00
parent 7683347997
commit 1813ce0cfa

View File

@ -705,18 +705,6 @@ class IncomeStatement(Report[IncomeStatementRow]):
is_total=True)) is_total=True))
return rows return rows
def __get_category(self, category: BaseAccount,
subcategory_dict: dict[str, BaseAccount],
balances: list[IncomeStatementRow]) \
-> list[IncomeStatementRow]:
"""Returns the rows in the category.
:param category: The category.
:param subcategory_dict: The subcategories
:param balances: The balances.
:return: The rows in the category.
"""
@staticmethod @staticmethod
def populate_rows(rows: list[JournalRow]) -> None: def populate_rows(rows: list[JournalRow]) -> None:
pass pass