diff --git a/accountant/api/models/operations.py b/accountant/api/models/operations.py index 88337c3..c3f5de8 100644 --- a/accountant/api/models/operations.py +++ b/accountant/api/models/operations.py @@ -135,10 +135,6 @@ class Operation(db.Model): return query - @classmethod - def get(cls, session, id): - return session.query(cls).filter(cls.id == id).one() - @classmethod def get_categories_for_range(cls, session, account, begin, end): if isinstance(account, int) or isinstance(account, str):