def list(): location = parse_location(request.args) return jsonify({ 'airspaces': api.get_airspaces_by_location(location), 'waves': api.get_waves_by_location(location), })
def _list(): location = parse_location(request.args) return jsonify(api.get_waves_by_location(location))