From 6dadf3e2ba09973cc492d02911edc2c81a4f4ab0 Mon Sep 17 00:00:00 2001 From: Hongbin Huang Date: Wed, 7 Jun 2023 17:09:45 +0800 Subject: [PATCH] fix: pass mypy --- easy/controller/auto_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy/controller/auto_api.py b/easy/controller/auto_api.py index dd1d67b..fd7d1d0 100644 --- a/easy/controller/auto_api.py +++ b/easy/controller/auto_api.py @@ -58,7 +58,7 @@ def create_api_controller( }, ) - return api_controller( + return api_controller( # type: ignore f"/{app_name}/{model_name.lower()}", tags=[f"{model_name} {controller_name_prefix}API"], permissions=[permission_class],