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