Google-cloud-python: How to install google.cloud.functions_v1?

Created on 5 Jul 2019  路  2Comments  路  Source: googleapis/google-cloud-python

In order to use autocompletion for python in vscode I name my functions parameters like below:

def list_collections(new_document_ref: firestore.DocumentReference, old_document_ref: firestore.DocumentReference):

A google-cloud-function when triggered comes with a event: dict and a context: google.cloud.functions_v1.context.Context
Is it possible to install the google.cloud.functions_v1 package?
Checked on the gcloudpypi page and there is no package available.

question firestore

All 2 comments

This repository does not have support for the Cloud Functions API: AFAIK, there is no released Python distribution which exports an importable `google.cloud.functions' package / module. The fields of the context are enumerated in the Cloud Functions docs.

@GuanacoDevs It looks like that package is maintained by the Cloud Functions team. Please file a feature request on their public issue tracker asking for them to make this package publicly available.

You can also try the Slack or Stack Overflow. If you have a support contract with GCP, please go through that channel to get the fastest response.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tweeter0830 picture tweeter0830  路  4Comments

bmenasha picture bmenasha  路  3Comments

VikramTiwari picture VikramTiwari  路  4Comments

jlara310 picture jlara310  路  3Comments

blainehansen picture blainehansen  路  3Comments