Cleanup.
This commit is contained in:
parent
744056a58d
commit
c7521b67e6
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user