Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: sync v3 with main branch#1088

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tswast merged 15 commits intov3fromsync-v3
Dec 16, 2021
Merged

chore: sync v3 with main branch#1088

tswast merged 15 commits intov3fromsync-v3
Dec 16, 2021

Conversation

@tswast
Copy link
Contributor

@tswasttswast commentedDec 15, 2021
edited
Loading

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

plamutand others added11 commitsNovember 16, 2021 22:57
* 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
* feat: promote `to_arrow_iterable` to public method* use correct version number* Update google/cloud/bigquery/table.pyCo-authored-by: Tim Swast <swast@google.com>
* 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()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…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 togoogleapis/python-db-dtypes-pandas#45 )
* revoke dataset access setup* basic template for sample* sample + test* revoke dataset access sample* 🦉 Updates from OwlBotSeehttps://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.pyremoved nested START/END tagsCo-authored-by: Tim Swast <swast@google.com>* Update samples/snippets/revoke_dataset_access.pyupdate readability in API requestCo-authored-by: Tim Swast <swast@google.com>* 🦉 Updates from OwlBotSeehttps://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md* updated test* 🦉 Updates from OwlBotSeehttps://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.pyCo-authored-by: Tim Swast <swast@google.com>* Update samples/snippets/update_dataset_access.pyCo-authored-by: Tim Swast <swast@google.com>* Update samples/snippets/revoke_dataset_access.pyCo-authored-by: Tim Swast <swast@google.com>* Update samples/snippets/revoke_dataset_access.pyCo-authored-by: Tim Swast <swast@google.com>* refactoring entry* added comment for entry access* Update samples/snippets/README.rstCo-authored-by: Tim Swast <swast@google.com>* Update samples/snippets/dataset_access_test.pyCo-authored-by: Tim Swast <swast@google.com>* Update samples/snippets/dataset_access_test.pyCo-authored-by: Tim Swast <swast@google.com>* added develper TODO in sample* add comments to samplesCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Tim Swast <swast@google.com>Co-authored-by: Peter Lamut <plamut@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>Co-authored-by: meredithslota <meredithslota@google.com>
* 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
* chore(deps): update all dependencies* exclude new geopandas from python 3.6Co-authored-by: Tim Swast <swast@google.com>
@tswasttswast requested a review froma teamDecember 15, 2021 18:31
@tswasttswast requested review froma team ascode ownersDecember 15, 2021 18:31
@product-auto-labelproduct-auto-labelbot added the api: bigqueryIssues related to the googleapis/python-bigquery API. labelDec 15, 2021
@tswasttswast added the do not mergeIndicates a pull request not ready for merge, due to either quality or timing. labelDec 15, 2021
@tswasttswast changed the base branch frommain tov3December 15, 2021 18:33
)

@mock.patch("google.cloud.bigquery.table.pyarrow",new=None)
deftest_to_arrow_iterable_error_if_pyarrow_is_none(self):
Copy link
ContributorAuthor

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

@tswasttswast requested a review fromplamutDecember 15, 2021 18:46
@tswast
Copy link
ContributorAuthor

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

Copy link
Contributor

@shollymanshollyman left a 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.

@plamut
Copy link
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 themain branch should go intov3, but of course adjusted for the changes in that branch (e.g. some dependencies not optional anymore, better type hints, etc.).

Copy link
Contributor

@plamutplamut left a comment
edited
Loading

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.

@plamutplamut added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelDec 16, 2021
@yoshi-kokoroyoshi-kokoro removed kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelsDec 16, 2021
@plamut
Copy link
Contributor

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

@tswast
Copy link
ContributorAuthor

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

Seth filed internal issue 210907595 to get this fixed.

@tswasttswast removed the do not mergeIndicates a pull request not ready for merge, due to either quality or timing. labelDec 16, 2021
@tswasttswast merged commit08a9bcc intov3Dec 16, 2021
@tswasttswast deleted the sync-v3 branchDecember 16, 2021 18:50
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@shollymanshollymanshollyman approved these changes

@leahecoleleahecoleAwaiting requested review from leahecoleleahecole was automatically assigned from googleapis/python-samples-owners

+1 more reviewer

@plamutplamutplamut approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

8 participants

@tswast@plamut@shollyman@yoshi-kokoro@judahrand@loferris@steffnay@renovate-bot

[8]ページ先頭

©2009-2025 Movatter.jp