chore(models): Add type ignore back

Signed-off-by: -LAN- <laipz8200@outlook.com>
pull/19435/head
-LAN- 1 year ago
parent 4a23cb904d
commit 7267bafc17
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -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

Loading…
Cancel
Save