Thanks to visit codestin.com
Credit goes to github.com

Skip to content

2.11.0 version breaks retrocompatibility with python-bigquery 1.x branch #477

Closed as not planned
@drake-mer

Description

@drake-mer

Environment details

  • OS type and version:
  • Python version: python --version
  • pip version: pip --version
  • google-api-core version: 2.11.0

Steps to reproduce

Run a bigquery job with python-bigquery v 1.28.2 and google-api-core 2.11.0

Stack trace

TypeError: QueryJob._blocking_poll() got an unexpected keyword argument 'retry'
[...]
    results = query_job.result()  # Waits for job to complete.
  File "/usr/local/lib/python3.10/site-packages/google/cloud/bigquery/job.py", line 3230, in result
    super(QueryJob, self).result(retry=retry, timeout=timeout)
  File "/usr/local/lib/python3.10/site-packages/google/cloud/bigquery/job.py", line 835, in result
    return super(_AsyncJob, self).result(timeout=timeout)
  File "/usr/local/lib/python3.10/site-packages/google/api_core/future/polling.py", line 256, in result
    self._blocking_poll(timeout=timeout, retry=retry, polling=polling)

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions