Beispiel #1
0
 def find_all(query: Query = None,
              page: int = 1,
              page_size: int = 1000) -> List['Group']:
     return [
         Group.from_db(group)
         for group in db.get_groups(query, page, page_size)
     ]
Beispiel #2
0
 def find_all(query: Query=None) -> List['Group']:
     return [Group.from_db(group) for group in db.get_groups(query)]
Beispiel #3
0
 def get_groups(query: Query = None) -> List[str]:
     return db.get_groups(query)
Beispiel #4
0
 def find_all(query: Query = None) -> List['Group']:
     return [Group.from_db(group) for group in db.get_groups(query)]