ソースを参照

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):