This commit is contained in:
Alexis Lahouze 2015-07-18 11:58:55 +02:00
parent 744056a58d
commit c7521b67e6

View File

@ -135,10 +135,6 @@ class Operation(db.Model):
return query return query
@classmethod
def get(cls, session, id):
return session.query(cls).filter(cls.id == id).one()
@classmethod @classmethod
def get_categories_for_range(cls, session, account, begin, end): def get_categories_for_range(cls, session, account, begin, end):
if isinstance(account, int) or isinstance(account, str): if isinstance(account, int) or isinstance(account, str):