From 49937d49b1169bd6eba07be7d8f2e3d9ccea6b7f Mon Sep 17 00:00:00 2001 From: -LAN- Date: Tue, 24 Dec 2024 15:31:54 +0800 Subject: [PATCH] fix: remove unnecessary type ignore comment for CORS import Signed-off-by: -LAN- --- api/extensions/ext_blueprints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/extensions/ext_blueprints.py b/api/extensions/ext_blueprints.py index 316be12f5c14b8..fcd1547a2fc492 100644 --- a/api/extensions/ext_blueprints.py +++ b/api/extensions/ext_blueprints.py @@ -5,7 +5,7 @@ def init_app(app: DifyApp): # register blueprint routers - from flask_cors import CORS # type: ignore + from flask_cors import CORS from controllers.console import bp as console_app_bp from controllers.files import bp as files_bp