Skip to main content

package for manage params in python gcloud functions

Project description

# Gcloud functions params

package for manage params in python gcloud functions

## Install

## Http function

You can call the function sending arguments:


or sending json

curl http://function-url -H "Content-Type: application/json" -d '{"name": "example"}'

from gcloud_functions_params import args_or_json_to_dict

def main(request):
params = args_or_json_to_dict(request)

## Pubsub function

you can send a json in the event message

message: '{"name": "example"}'

from gcloud_functions_params import event_to_dict

def main(event, context):
params = event_to_dict(event)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gcloud-functions-params, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size gcloud_functions_params-0.0.2-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gcloud-functions-params-0.0.2.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page