We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 291cfe9 commit 6f0bad0Copy full SHA for 6f0bad0
google/cloud/bigquery/_pandas_helpers.py
@@ -971,9 +971,9 @@ def _download_table_bqstorage(
971
ArrowSerializationOptions.CompressionCodec(1)
972
)
973
974
- retry_policy = None
975
- if timeout is not None:
976
- retry_policy = bq_retry.DEFAULT_RETRY.with_deadline(timeout)
+ retry_policy = (
+ bq_retry.DEFAULT_RETRY.with_deadline(timeout) if timeout is not None else None
+ )
977
978
session = bqstorage_client.create_read_session(
979
parent="projects/{}".format(project_id),
0 commit comments