def _process(self, args): return jsonify(get_suggestions(args, limit=NUM_SUGGESTIONS))
def _process(self, args): return jsonify(get_suggestions(args, limit=NUM_SUGGESTIONS))
def _process(self, args): return jsonify([ dict(suggestion, room=rooms_schema.dump(suggestion['room'], many=False).data) for suggestion in get_suggestions(args, limit=NUM_SUGGESTIONS) ])