From c7521b67e6f3c464f9f22b0ca65ab1600493a30d Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 18 Jul 2015 11:58:55 +0200 Subject: [PATCH] Cleanup. --- accountant/api/models/operations.py | 4 ---- 1 file changed, 4 deletions(-) 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):