From c3cedf714be540a3c4ec535c88fc7f93282f7597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 7 Feb 2023 17:01:08 +0800 Subject: [PATCH] Revised the documentation of the init_app function of the "accounting.locale", "accounting.base_account", "accounting.account", and "accounting.currency" modules. --- src/accounting/account/__init__.py | 2 +- src/accounting/base_account/__init__.py | 2 +- src/accounting/currency/__init__.py | 2 +- src/accounting/locale.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/accounting/account/__init__.py b/src/accounting/account/__init__.py index 4b4ae56..fda5dfc 100644 --- a/src/accounting/account/__init__.py +++ b/src/accounting/account/__init__.py @@ -23,8 +23,8 @@ from flask import Flask, Blueprint def init_app(app: Flask, bp: Blueprint) -> None: """Initialize the application. - :param bp: The blueprint of the accounting application. :param app: The Flask application. + :param bp: The blueprint of the accounting application. :return: None. """ from .converters import AccountConverter diff --git a/src/accounting/base_account/__init__.py b/src/accounting/base_account/__init__.py index 11c650b..b1b415f 100644 --- a/src/accounting/base_account/__init__.py +++ b/src/accounting/base_account/__init__.py @@ -23,8 +23,8 @@ from flask import Flask, Blueprint def init_app(app: Flask, bp: Blueprint) -> None: """Initialize the application. - :param bp: The blueprint of the accounting application. :param app: The Flask application. + :param bp: The blueprint of the accounting application. :return: None. """ from .converters import BaseAccountConverter diff --git a/src/accounting/currency/__init__.py b/src/accounting/currency/__init__.py index 50407ff..4b38323 100644 --- a/src/accounting/currency/__init__.py +++ b/src/accounting/currency/__init__.py @@ -23,8 +23,8 @@ from flask import Flask, Blueprint def init_app(app: Flask, bp: Blueprint) -> None: """Initialize the application. - :param bp: The blueprint of the accounting application. :param app: The Flask application. + :param bp: The blueprint of the accounting application. :return: None. """ from .converters import CurrencyConverter diff --git a/src/accounting/locale.py b/src/accounting/locale.py index 88e528d..ba766e6 100644 --- a/src/accounting/locale.py +++ b/src/accounting/locale.py @@ -116,8 +116,8 @@ def __babel_js_catalog_view() -> Response: def init_app(app: Flask, bp: Blueprint) -> None: """Initializes the application. - :param bp: The blueprint of the accounting application. :param app: The Flask application. + :param bp: The blueprint of the accounting application. :return: None. """ bp.add_url_rule("/_jstrans.js", "babel_catalog",