From 7267bafc1787c91d3b888376e94340e61abffeba Mon Sep 17 00:00:00 2001 From: -LAN- Date: Fri, 9 May 2025 13:47:25 +0800 Subject: [PATCH] chore(models): Add type ignore back Signed-off-by: -LAN- --- api/models/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/models/account.py b/api/models/account.py index 9bd7c65a31..de7ede8d17 100644 --- a/api/models/account.py +++ b/api/models/account.py @@ -47,7 +47,7 @@ class Account(UserMixin, Base): @property def current_tenant(self): - return self._current_tenant + return self._current_tenant # type: ignore @current_tenant.setter def current_tenant(self, value: "Tenant"): @@ -56,7 +56,7 @@ class Account(UserMixin, Base): if ta: tenant.current_role = ta.role else: - tenant = None + tenant = None # type: ignore self._current_tenant = tenant