PollingFuture default timeout value object()
incompatible with QueryJob typeguard in _reload_query_results
#1459
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
google.api_core.future.polling.PollingFuture
default timeout valueobject()
incompatible withgoogle.cloud.bigquery.job.query.QueryJob
typeguard in_reload_query_results
.A refactor in
google-api-core
introduced the global_DEFAULT_VALUE
in the PollingFuture class ->here.
This change is incompatible with google-cloud-bigquery typeguard here and becomes invalid and enters the
if
context which results in a error on this line.The typeguard is based on the fact that the default value is None and not object().
As discussed here with @vam-google,
Stack trace
Thanks!
The text was updated successfully, but these errors were encountered: