Boilerplate for HTTP-triggered Python Cloud Functions on GCP.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Boilerplate for HTTP Google Cloud Functions Python 3.7 runtime

A simple and associated supporting code to help smooth local development with HTTP triggered functions.

Files listed in .gcloudignore are ignored when deploying to GCF through the gcloud command line (see documentation).

Cloud Functions passes the Flask request object to your function, along with additional paths in the URL. For example, a HTTP Function as follows:

could also be called with additional parameters like this: (accessed with request.path).

This can be helpful in certain functions that require GET and caching setups that don't cache by query strings.