def location(): city = request.args.get('city') return Location.fetch(city)
def location(): print(request.args.get('data')) return Location.fetch('barcelona')