Revised the documentation.

This commit is contained in:
依瑪貓 2022-12-08 01:06:15 +08:00
parent 72b9555e29
commit 1d16b250d8
2 changed files with 7 additions and 11 deletions

View File

@ -80,10 +80,9 @@ class ReportUrl:
Args:
namespace: The namespace of the current application.
cash: The currently-specified account of the
cash account or cash summary.
ledger: The currently-specified account of the
ledger or leger summary.
cash: The currently-specified account of the cash account or cash
summary.
ledger: The currently-specified account of the ledger or leger summary.
period: The currently-specified period.
"""
@ -145,9 +144,8 @@ class DataFiller:
"""Adds accounts.
Args:
accounts (tuple[tuple[any]]): Tuples of
(code, English, Traditional Chinese, Simplified Chinese)
of the accounts.
accounts: Tuples of (code, English, Traditional Chinese, Simplified
Chinese) of the accounts.
"""
for data in accounts:
code = data[0]
@ -167,8 +165,7 @@ class DataFiller:
"""Adds a transfer transaction.
Args:
date: The date, or the number of days from
today.
date: The date, or the number of days from today.
debit: Tuples of (account, summary, amount) of the debit records.
credit: Tuples of (account, summary, amount) of the credit records.
"""

View File

@ -429,8 +429,7 @@ class Pagination:
url (str): The link URL, or for a non-link slot.
title (str): The title of the link.
is_active (bool): Whether this link is currently active.
is_small_screen (bool): Whether this link is for small
screens
is_small_screen (bool): Whether this link is for small screens.
"""
def __int__(self):
self.url = None