From 77553654678f516c07de005666db2390b2538830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 22 Mar 2023 21:36:07 +0800 Subject: [PATCH] Revised the documentation of the CurrentAccount data model. --- src/accounting/utils/current_account.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/accounting/utils/current_account.py b/src/accounting/utils/current_account.py index 888e019..fcd6c47 100644 --- a/src/accounting/utils/current_account.py +++ b/src/accounting/utils/current_account.py @@ -14,7 +14,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""The current account. +"""The current assets and liabilities account. """ import typing as t @@ -26,14 +26,14 @@ import sqlalchemy as sa class CurrentAccount: - """The current account.""" + """A current assets and liabilities account.""" CURRENT_AL_CODE: str = "0000-000" - """The account code for the current assets and liabilities.""" + """The account code for all current assets and liabilities.""" def __init__(self, account: Account | None = None): - """Constructs the current account. + """Constructs the current assets and liabilities account. - :param account: The account. + :param account: The actual account. """ self.account: Account | None = account """The actual account.""" @@ -55,9 +55,9 @@ class CurrentAccount: @classmethod def current_assets_and_liabilities(cls) -> t.Self: - """Returns the pseudo account for current assets and liabilities. + """Returns the pseudo account for all current assets and liabilities. - :return: The pseudo account for current assets and liabilities. + :return: The pseudo account for all current assets and liabilities. """ account: cls = cls() account.id = 0