def get_entity_batch(last_key, datastore, batch_size):
 return datastore.range_query(APP_ENTITY_TABLE, APP_ENTITY_SCHEMA, last_key, '', batch_size, start_inclusive=False)

def get_entity_batch ( last_key , datastore , batch_size ) : return datastore . range_query ( APP_ENTITY_TABLE , APP_ENTITY_SCHEMA , last_key , '' , batch_size , start_inclusive = False )
gets a batch of entities to operate on .