Skip to content

Commit 7e3721e

Browse files
authored
fix: improve type annotations for mypy validation (#1081)
docs: add mypy-valid type annotations to samples
1 parent 3b3ebff commit 7e3721e

File tree

225 files changed

+1938
-433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+1938
-433
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
3-
digest: sha256:4ee57a76a176ede9087c14330c625a71553cf9c72828b2c0ca12f5338171ba60
3+
digest: sha256:2f90537dd7df70f6b663cd654b1fa5dee483cf6a4edcfd46072b2775be8a23ec

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
[1]: https://pypi.org/project/google-cloud-bigquery/#history
66

77

8+
## [2.31.0](https://www.github.com/googleapis/python-bigquery/compare/v2.30.1...v2.31.0) (2021-11-24)
9+
10+
11+
### Features
12+
13+
* allow cell magic body to be a $variable ([#1053](https://www.github.com/googleapis/python-bigquery/issues/1053)) ([3a681e0](https://www.github.com/googleapis/python-bigquery/commit/3a681e046819df18118aa0b2b5733416d004c9b3))
14+
* promote `RowIterator.to_arrow_iterable` to public method ([#1073](https://www.github.com/googleapis/python-bigquery/issues/1073)) ([21cd710](https://www.github.com/googleapis/python-bigquery/commit/21cd71022d60c32104f8f90ee2ca445fbb43f7f3))
15+
16+
17+
### Bug Fixes
18+
19+
* apply timeout to all resumable upload requests ([#1070](https://www.github.com/googleapis/python-bigquery/issues/1070)) ([3314dfb](https://www.github.com/googleapis/python-bigquery/commit/3314dfbed62488503dc41b11e403a672fcf71048))
20+
21+
22+
### Dependencies
23+
24+
* support OpenTelemetry >= 1.1.0 ([#1050](https://www.github.com/googleapis/python-bigquery/issues/1050)) ([4616cd5](https://www.github.com/googleapis/python-bigquery/commit/4616cd58d3c6da641fb881ce99a87dcdedc20ba2))
25+
826
### [2.30.1](https://www.github.com/googleapis/python-bigquery/compare/v2.30.0...v2.30.1) (2021-11-04)
927

1028

google/cloud/bigquery/_pandas_helpers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,12 @@ def _download_table_bqstorage(
912912

913913

914914
def download_arrow_bqstorage(
915-
project_id, table, bqstorage_client, preserve_order=False, selected_fields=None,
915+
project_id,
916+
table,
917+
bqstorage_client,
918+
preserve_order=False,
919+
selected_fields=None,
920+
max_queue_size=_MAX_QUEUE_SIZE_DEFAULT,
916921
):
917922
return _download_table_bqstorage(
918923
project_id,
@@ -921,6 +926,7 @@ def download_arrow_bqstorage(
921926
preserve_order=preserve_order,
922927
selected_fields=selected_fields,
923928
page_to_item=_bqstorage_page_to_arrow,
929+
max_queue_size=max_queue_size,
924930
)
925931

926932

0 commit comments

Comments
 (0)