浏览代码

cleanup: remove get_interates

Yeuoly 6 月之前
父节点
当前提交
accbbae755
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      api/models/account.py

+ 0 - 4
api/models/account.py

@@ -102,10 +102,6 @@ class Account(UserMixin, Base):
             return db.session.query(Account).filter(Account.id == account_integrate.account_id).one_or_none()
         return None
 
-    def get_integrates(self) -> list[db.Model]:
-        ai = db.Model
-        return db.session.query(ai).filter(ai.account_id == self.id).all()
-
     # check current_user.current_tenant.current_role in ['admin', 'owner']
     @property
     def is_admin_or_owner(self):