Revised the documentation of the CSV rows for the reports.
This commit is contained in:
parent
5dc8387ad9
commit
11ab4a4ba6
@ -259,10 +259,10 @@ class AccountCollector:
|
||||
|
||||
|
||||
class CSVHalfRow:
|
||||
"""A half row in the CSV balance sheet."""
|
||||
"""A half row in the CSV."""
|
||||
|
||||
def __init__(self, title: str | None, amount: Decimal | None):
|
||||
"""The constructs a half row in the CSV balance sheet.
|
||||
"""The constructs a half row in the CSV.
|
||||
|
||||
:param title: The title.
|
||||
:param amount: The amount.
|
||||
@ -274,10 +274,10 @@ class CSVHalfRow:
|
||||
|
||||
|
||||
class CSVRow(BaseCSVRow):
|
||||
"""A row in the CSV balance sheet."""
|
||||
"""A row in the CSV."""
|
||||
|
||||
def __init__(self):
|
||||
"""Constructs a row in the CSV balance sheet."""
|
||||
"""Constructs a row in the CSV."""
|
||||
self.asset_title: str | None = None
|
||||
"""The title of the asset."""
|
||||
self.asset_amount: Decimal | None = None
|
||||
|
@ -202,7 +202,7 @@ class EntryCollector:
|
||||
|
||||
|
||||
class CSVRow(BaseCSVRow):
|
||||
"""A row in the CSV income and expenses log."""
|
||||
"""A row in the CSV."""
|
||||
|
||||
def __init__(self, txn_date: date | str | None,
|
||||
account: str | None,
|
||||
@ -211,7 +211,7 @@ class CSVRow(BaseCSVRow):
|
||||
expense: str | Decimal | None,
|
||||
balance: str | Decimal | None,
|
||||
note: str | None):
|
||||
"""Constructs a row in the CSV income and expenses log.
|
||||
"""Constructs a row in the CSV.
|
||||
|
||||
:param txn_date: The transaction date.
|
||||
:param account: The account.
|
||||
|
@ -116,10 +116,10 @@ class IncomeStatementSection:
|
||||
|
||||
|
||||
class CSVRow(BaseCSVRow):
|
||||
"""A row in the CSV income statement."""
|
||||
"""A row in the CSV."""
|
||||
|
||||
def __init__(self, text: str | None, amount: str | Decimal | None):
|
||||
"""Constructs a row in the CSV income statement.
|
||||
"""Constructs a row in the CSV.
|
||||
|
||||
:param text: The text.
|
||||
:param amount: The amount.
|
||||
|
@ -71,7 +71,7 @@ class Entry:
|
||||
|
||||
|
||||
class CSVRow(BaseCSVRow):
|
||||
"""A row in the CSV journal."""
|
||||
"""A row in the CSV."""
|
||||
|
||||
def __init__(self, txn_date: str | date,
|
||||
currency: str,
|
||||
@ -80,7 +80,7 @@ class CSVRow(BaseCSVRow):
|
||||
debit: str | Decimal | None,
|
||||
credit: str | Decimal | None,
|
||||
note: str | None):
|
||||
"""Constructs a row in the CSV journal.
|
||||
"""Constructs a row in the CSV.
|
||||
|
||||
:param txn_date: The transaction date.
|
||||
:param summary: The summary.
|
||||
|
@ -183,7 +183,7 @@ class EntryCollector:
|
||||
|
||||
|
||||
class CSVRow(BaseCSVRow):
|
||||
"""A row in the CSV ledger."""
|
||||
"""A row in the CSV."""
|
||||
|
||||
def __init__(self, txn_date: date | str | None,
|
||||
summary: str | None,
|
||||
@ -191,7 +191,7 @@ class CSVRow(BaseCSVRow):
|
||||
credit: str | Decimal | None,
|
||||
balance: str | Decimal | None,
|
||||
note: str | None):
|
||||
"""Constructs a row in the CSV ledger.
|
||||
"""Constructs a row in the CSV.
|
||||
|
||||
:param txn_date: The transaction date.
|
||||
:param summary: The summary.
|
||||
|
@ -70,7 +70,7 @@ class Entry:
|
||||
|
||||
|
||||
class CSVRow(BaseCSVRow):
|
||||
"""A row in the CSV search result."""
|
||||
"""A row in the CSV."""
|
||||
|
||||
def __init__(self, txn_date: str | date,
|
||||
currency: str,
|
||||
@ -79,7 +79,7 @@ class CSVRow(BaseCSVRow):
|
||||
debit: str | Decimal | None,
|
||||
credit: str | Decimal | None,
|
||||
note: str | None):
|
||||
"""Constructs a row in the CSV search result.
|
||||
"""Constructs a row in the CSV.
|
||||
|
||||
:param txn_date: The transaction date.
|
||||
:param summary: The summary.
|
||||
|
@ -71,12 +71,12 @@ class TrialBalanceTotal:
|
||||
|
||||
|
||||
class CSVRow(BaseCSVRow):
|
||||
"""A row in the CSV trial balance."""
|
||||
"""A row in the CSV."""
|
||||
|
||||
def __init__(self, text: str | None,
|
||||
debit: str | Decimal | None,
|
||||
credit: str | Decimal | None):
|
||||
"""Constructs a row in the CSV trial balance.
|
||||
"""Constructs a row in the CSV.
|
||||
|
||||
:param text: The text.
|
||||
:param debit: The debit amount.
|
||||
|
Loading…
Reference in New Issue
Block a user