Beispiel #1
0
 def _get_many(query):
     Logger(__name__).info(
         'Retrieving all stories matching query {}.'.format(query))
     return Persistence.get_many(Story._get_coll(), query)
Beispiel #2
0
 def _unsafe_get_many(query):
     # warning, does not filter out deprecated flashes, for internal use only
     Logger(__name__).info('Retrieving all flashes matching query {}.'.format(query))
     return Persistence.get_many(Flash._get_coll(), query)