Serge Dukic c1d8e6ec24 Add Google Cloud Python template
Add a template for creating Python Serverless functions in Google Cloud.

Issue(s): None
2019-02-09 21:15:04 +13:00

12 lines
364 B
Python

def pyhttp(request):
"""Responds to any HTTP request.
Args:
request (flask.Request): HTTP request object.
Returns:
The response text or any set of values that can be turned into a
Response object using
`make_response <http://flask.pocoo.org/docs/1.0/api/#flask.Flask.make_response>`.
"""
return f'Hello World!'