diff --git a/functions/helloworld/main.py b/functions/helloworld/main.py index 5cc79eec5e5..caf866014d6 100644 --- a/functions/helloworld/main.py +++ b/functions/helloworld/main.py @@ -42,11 +42,11 @@ def hello_http(request): """HTTP Cloud Function. Args: request (flask.Request): The request object. - + Returns: The response text, or any set of values that can be turned into a Response object using `make_response` - . + . """ request_json = request.get_json(silent=True) request_args = request.args @@ -116,11 +116,11 @@ def hello_content(request): according to the "content-type" header. Args: request (flask.Request): The request object. - + Returns: The response text, or any set of values that can be turned into a Response object using `make_response` - . + . """ content_type = request.headers['content-type'] if content_type == 'application/json': @@ -146,11 +146,11 @@ def hello_method(request): """ Responds to a GET request with "Hello world!". Forbids a PUT request. Args: request (flask.Request): The request object. - + Returns: The response text, or any set of values that can be turned into a - Response object using `make_response` - . + Response object using `make_response` + . """ from flask import abort