MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-code-samples / hello

Function hello

python/python-hello-world/src/app.py:15–19  ·  view source on GitHub ↗

Return a simple HTML page with a friendly message.

()

Source from the content-addressed store, hash-verified

13
14@app.route('/')
15def hello():
16 """Return a simple HTML page with a friendly message."""
17 message = "It's running!"
18
19 return render_template('index.html', message=message)
20
21if __name__ == '__main__':
22 signal(SIGINT, handler)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected