From 62af0a256954ceb58ec6328802e33cd2e4872258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E4=B8=BA=E4=B9=8B?= <560397@gree.com.cn> Date: Tue, 21 Nov 2023 11:49:26 +0800 Subject: [PATCH] Update project --- application/views/__init__.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/application/views/__init__.py b/application/views/__init__.py index aa980a6..e565065 100644 --- a/application/views/__init__.py +++ b/application/views/__init__.py @@ -6,8 +6,8 @@ # @Author : StudentCWZ # @Email : StudentCWZ@outlook.com # @Date : 2023/10/28 22:29 -# @File : __init__.py.py -# @Description : +# @File : __init__.py +# @Description : Initializes the views for the Flask application. """ from flask import Flask @@ -16,4 +16,13 @@ from .log import register_log_views def init_views(app: Flask) -> None: + """ + Initializes views by registering the log views with the Flask application. + + Args: + app (Flask): The Flask application. + + Returns: + None + """ register_log_views(app) -- GitLab