Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code example for read_rows() incorrect #38

Closed
yan-hic opened this issue Jun 16, 2020 · 0 comments · Fixed by #44
Closed

code example for read_rows() incorrect #38

yan-hic opened this issue Jun 16, 2020 · 0 comments · Fixed by #44
Assignees
Labels
api: bigquerystorage Issues related to the googleapis/python-bigquery-storage API. type: docs Improvement to the documentation for an API.

Comments

@yan-hic
Copy link

yan-hic commented Jun 16, 2020

The code snippet under read_rows() method at https://googleapis.dev/python/bigquerystorage/latest/gapic/v1/api.html does not work.

stream should be the name of the stream but even so, there is an error:

TypeError: Parameter to MergeFrom() must be instance of same class: expected google.cloud.bigquery.storage.v1.ReadSession got str.
@busunkim96 busunkim96 added type: docs Improvement to the documentation for an API. api: bigquery Issues related to the BigQuery API. labels Jun 16, 2020
@danoscarmike danoscarmike added api: bigquerystorage Issues related to the googleapis/python-bigquery-storage API. and removed api: bigquery Issues related to the BigQuery API. labels Jun 16, 2020
@plamut plamut self-assigned this Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage Issues related to the googleapis/python-bigquery-storage API. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants