Пример #1
0
 def get_history(query=None, page=1, page_size=100):
     return [RichHistory.from_db(hist) for hist in db.get_history(query, page, page_size)]
Пример #2
0
 def get_alert_history(alert, page=1, page_size=100):
     return [RichHistory.from_db(hist) for hist in db.get_alert_history(alert, page, page_size)]
Пример #3
0
 def get_history(query: Query=None, page=1, page_size=1000) -> List[RichHistory]:
     return [RichHistory.from_db(hist) for hist in db.get_history(query, page, page_size)]
Пример #4
0
 def get_alert_history(alert, page=1, page_size=100):
     return [RichHistory.from_db(hist) for hist in db.get_alert_history(alert, page, page_size)]