def on_results(self, results): # Results is an array of results for each query return [ process_photo_results( query_results, scoring_fxn=self.album_photo_score_fxn) for query_results in results ]
def on_results(self, results): getter = process_photo_results( results, add_to_fields=['album_object_id', 'caption'], add_to_defaults={'caption': ''}, commit=False, ) return getter
def on_results(self, results, photos_i_like): getter = process_photo_results( results, ) return getter