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

Function handler

python/python-hello-world/src/app.py:6–8  ·  view source on GitHub ↗
(signal_received, frame)

Source from the content-addressed store, hash-verified

4from flask import Flask, render_template
5
6def handler(signal_received, frame):
7 # SIGINT or ctrl-C detected, exit without error
8 exit(0)
9
10# pylint: disable=C0103
11app = Flask(__name__)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected