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

process: add mypy-valid type annotations to samples #1081

Merged
merged 27 commits into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3a681e0
feat: allow cell magic body to be a $variable (#1053)
plamut Nov 16, 2021
1b5dc5c
cleanup: silence non-relevant system test warnings (#1068)
plamut Nov 18, 2021
21cd710
feat: promote `RowIterator.to_arrow_iterable` to public method (#1073)
judahrand Nov 19, 2021
3314dfb
fix: apply timeout to all resumable upload requests (#1070)
plamut Nov 24, 2021
a135956
chore: release 2.31.0 (#1066)
release-please[bot] Dec 2, 2021
be6eb34
test: check extreme DATE/DATETIME values can be loaded from pandas Da…
tswast Dec 2, 2021
effd673
docs: add sample for revoking dataset access (#778)
loferris Dec 6, 2021
d1a9902
Add type hints to magics samples
plamut Nov 27, 2021
8141548
Add type hints to geography samples
plamut Nov 28, 2021
0b58d9d
Add type hints to snippets
plamut Nov 29, 2021
452f15e
Add type hints to top level samples (part 1)
plamut Dec 4, 2021
ee1179a
Add type hints to top level samples (part 2)
plamut Dec 5, 2021
d77d70e
Add type hints to top level samples (part 3)
plamut Dec 7, 2021
8195894
Add type hints to core libraries for samples' needs
plamut Dec 7, 2021
6a3713b
Add top level mypy config and samples session
plamut Dec 8, 2021
c4d0ab5
Add mypy.ini files to samples subdirectories
plamut Dec 8, 2021
c0ef9a0
Enforce late evaluation of some annotations
plamut Dec 8, 2021
86dd389
Install typing.TypedDict backport
plamut Dec 8, 2021
278dac7
Make sure typing.TypedDict is available in samples
plamut Dec 8, 2021
2c78c72
Use import fallback for TypedDict
plamut Dec 8, 2021
12e118d
Fix service account fixture in snippets
plamut Dec 8, 2021
44221f4
chore: update python-docs-samples link to main branch (#1082)
gcf-owl-bot[bot] Dec 9, 2021
eaaffb7
Merge branch 'main' into iss-1074
plamut Dec 14, 2021
040a21c
Add missing annotations to new samples
plamut Dec 14, 2021
fdabea3
Move the override_values default check out
plamut Dec 14, 2021
484a6ee
Get rid of type cast of an optional int property
plamut Dec 14, 2021
8c40ec7
Simplify external config type annotations
plamut Dec 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:4ee57a76a176ede9087c14330c625a71553cf9c72828b2c0ca12f5338171ba60
digest: sha256:2f90537dd7df70f6b663cd654b1fa5dee483cf6a4edcfd46072b2775be8a23ec
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@
[1]: https://pypi.org/project/google-cloud-bigquery/#history


## [2.31.0](https://www.github.com/googleapis/python-bigquery/compare/v2.30.1...v2.31.0) (2021-11-24)


### Features

* 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))
* 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))


### Bug Fixes

* 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))


### Dependencies

* 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))

### [2.30.1](https://www.github.com/googleapis/python-bigquery/compare/v2.30.0...v2.30.1) (2021-11-04)


Expand Down
8 changes: 7 additions & 1 deletion google/cloud/bigquery/_pandas_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,12 @@ def _download_table_bqstorage(


def download_arrow_bqstorage(
project_id, table, bqstorage_client, preserve_order=False, selected_fields=None,
project_id,
table,
bqstorage_client,
preserve_order=False,
selected_fields=None,
max_queue_size=_MAX_QUEUE_SIZE_DEFAULT,
):
return _download_table_bqstorage(
project_id,
Expand All @@ -921,6 +926,7 @@ def download_arrow_bqstorage(
preserve_order=preserve_order,
selected_fields=selected_fields,
page_to_item=_bqstorage_page_to_arrow,
max_queue_size=max_queue_size,
)


Expand Down
Loading