GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: sync v3 with main branch by tswast · Pull Request #1088 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Conversation

@tswast

@tswast tswast commented Dec 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

"do not merge" label is just a reminder to use a merge commit

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
plamut and others added 11 commits November 16, 2021 22:57
@plamut
feat: allow cell magic body to be a $variable (#1053)
3a681e0
* feat: allow cell magic body to be a $variable

* Fix missing indefinitive article in error msg

* Adjust test assertion to error message change

* Refactor logic for extracting query variable

* Explicitly warn about missing query variable name

* Thest the query "variable" is not identifier case
@plamut
cleanup: silence non-relevant system test warnings (#1068)
1b5dc5c
@judahrand @tswast
feat: promote RowIterator.to_arrow_iterable to public method (#1073)
21cd710
* feat: promote `to_arrow_iterable` to public method

* use correct version number

* Update google/cloud/bigquery/table.py

Co-authored-by: Tim Swast <[email protected]>
@plamut
fix: apply timeout to all resumable upload requests (#1070)
3314dfb
* fix: apply timeout to all resumable upload requests

* Fix stub in test case

* Improve timeout type and other type annotations

* Annnotate return type of _do_resumable_upload()
@release-please
chore: release 2.31.0 (#1066)
a135956
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@tswast
test: check extreme DATE/DATETIME values can be loaded from pandas Da…
be6eb34
…taFrame (#1078)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Towards #1076 🦕
(edit: moved to googleapis/python-db-dtypes-pandas#45 )
@loferris @gcf-owl-bot
@tswast @plamut @parthea @meredithslota
docs: add sample for revoking dataset access (#778)
effd673
* revoke dataset access setup

* basic template for sample

* sample + test

* revoke dataset access sample

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

* docs: add sample for revoking dataset access - update year and string formatting

* docs: add sample for revoking dataset access - move to snippets and change parameter pattern for readibility

* moving update_dataset to /snippets and adjusting imports on both revoke_access and update_access

* Update samples/snippets/revoke_dataset_access.py

removed nested START/END tags

Co-authored-by: Tim Swast <[email protected]>

* Update samples/snippets/revoke_dataset_access.py

update readability in API request

Co-authored-by: Tim Swast <[email protected]>

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

* updated test

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

* change after running test

* resolving linting failure, rewriting test

* removed relative import errors

* remove relative mport from update_dataset_access

* adding fixture to conftest.py

* updated sample

* updating sample to match new update_access sample

* fixing region tags

* consolidated tests into one file for both methods

* updating test to full_dataset format

* updated revoke sample

* updating test

* refactored sample

* Update samples/snippets/conftest.py

* Update samples/snippets/revoke_dataset_access.py

Co-authored-by: Tim Swast <[email protected]>

* Update samples/snippets/update_dataset_access.py

Co-authored-by: Tim Swast <[email protected]>

* Update samples/snippets/revoke_dataset_access.py

Co-authored-by: Tim Swast <[email protected]>

* Update samples/snippets/revoke_dataset_access.py

Co-authored-by: Tim Swast <[email protected]>

* refactoring entry

* added comment for entry access

* Update samples/snippets/README.rst

Co-authored-by: Tim Swast <[email protected]>

* Update samples/snippets/dataset_access_test.py

Co-authored-by: Tim Swast <[email protected]>

* Update samples/snippets/dataset_access_test.py

Co-authored-by: Tim Swast <[email protected]>

* added develper TODO in sample

* add comments to samples

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Tim Swast <[email protected]>
Co-authored-by: Peter Lamut <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: meredithslota <[email protected]>
@gcf-owl-bot
chore: update python-docs-samples link to main branch (#1082)
44221f4
@steffnay
feat: support authorized dataset entity (#1075)
c098cd0
* feat: support authorized dataset entity

* cleanup

* add test and cache the resource from from_api_repr in a _properties value

* lint

* update samples to use enums

* update to_api_repr and add tests

* refactor
@renovate-bot @tswast
chore(deps): update all dependencies (#1005)
4a3ab03
* chore(deps): update all dependencies

* exclude new geopandas from python 3.6

Co-authored-by: Tim Swast <[email protected]>
@tswast
Merge remote-tracking branch 'upstream/main' into sync-v3
2b76944
@tswast
tswast requested a review from a team December 15, 2021 18:31
@tswast
tswast requested a review from a team as a code owner December 15, 2021 18:31
@tswast
tswast requested review from a team, leahecole and shollyman December 15, 2021 18:31
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Dec 15, 2021
@tswast tswast added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 15, 2021
@tswast
chore: add type annotations for mypy
950b24e
@tswast
tswast changed the base branch from main to v3 December 15, 2021 18:33
tswast
tswast commented Dec 15, 2021
View reviewed changes
Comment thread tests/unit/test_table.py Outdated
)

@mock.patch("google.cloud.bigquery.table.pyarrow", new=None)
def test_to_arrow_iterable_error_if_pyarrow_is_none(self):

@tswast tswast Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. I think we can delete this now that pyarrow is a required dependency

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tswast
chore: revert test for when pyarrow is not installed
e888c71
@tswast
tswast requested a review from plamut December 15, 2021 18:46
@tswast

tswast commented Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

Note: the diff is a bit smaller than expected because #1081 pulled some changes in from main already

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

shollyman
shollyman approved these changes Dec 15, 2021
View reviewed changes

@shollyman shollyman left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with the caveat that I have no real context on what's in/out of scope for the merge as I've not been following the v3 branch closely.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@plamut

plamut commented Dec 16, 2021

Copy link
Copy Markdown
Contributor

LGTM, with the caveat that I have no real context on what's in/out of scope for the merge as I've not been following the v3 branch closely.

Everything from the main branch should go into v3, but of course adjusted for the changes in that branch (e.g. some dependencies not optional anymore, better type hints, etc.).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

plamut
plamut approved these changes Dec 16, 2021
View reviewed changes

@plamut plamut left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

The failures seem transient, a bunch of 500 errors.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 16, 2021
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Dec 16, 2021
@plamut

plamut commented Dec 16, 2021

Copy link
Copy Markdown
Contributor

Hm... the copy table test still consistently fails across all test runs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tswast

tswast commented Dec 16, 2021

Copy link
Copy Markdown
Contributor Author

Hm... the copy table test still consistently fails across all test runs.

Seth filed internal issue 210907595 to get this fixed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tswast added 2 commits December 16, 2021 10:51
@tswast
test: skip failing copy table tests (#1090)
dc42670
@tswast
Merge remote-tracking branch 'upstream/main' into sync-v3
011f160
@tswast tswast removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 16, 2021
@tswast
tswast merged commit 08a9bcc into v3 Dec 16, 2021
@tswast
tswast deleted the sync-v3 branch December 16, 2021 18:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@leahecole leahecole Awaiting requested review from leahecole leahecole was automatically assigned from googleapis/python-samples-owners
2 more reviewers
@shollyman shollyman shollyman approved these changes
@plamut plamut plamut approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the googleapis/python-bigquery API.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@tswast @plamut @shollyman @yoshi-kokoro @judahrand @loferris @steffnay @renovate-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.