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 — feat: support authorized dataset entity by steffnay · Pull Request #1075 · googleapis/python-bigquery

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

Conversation

@steffnay

@steffnay steffnay commented Nov 30, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Removes the client-side validation of entity types and replaces them with enum values.

  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #1064 🦕

Sorry, something went wrong.

Uh oh!

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

All reactions
@steffnay
feat: support authorized dataset entity
0e5261c
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Nov 30, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 30, 2021
steffnay and others added 2 commits November 30, 2021 10:00
@steffnay
cleanup
261bb2c
@steffnay
Merge branch 'main' into remove-entity-val
bb06948
@steffnay
steffnay marked this pull request as ready for review November 30, 2021 22:04
@steffnay
steffnay requested review from a team, loferris and tswast November 30, 2021 22:04
@tswast tswast mentioned this pull request Dec 1, 2021
refactor AccessEntry to use _properties pattern #1077
Closed
tswast
tswast suggested changes Dec 1, 2021
View reviewed changes
Comment thread google/cloud/bigquery/enums.py Resolved

Uh oh!

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

Comment thread tests/unit/test_dataset.py Resolved

Uh oh!

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

Comment thread google/cloud/bigquery/dataset.py Resolved

Uh oh!

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

@tswast

tswast commented Dec 6, 2021

Copy link
Copy Markdown
Contributor

Let's make sure we update the code samples with the new enum too.

python-bigquery/samples/snippets/authorized_view_tutorial.py

Line 109 in 679e8ed

bigquery.AccessEntry("READER", "groupByEmail", analyst_group_email)

python-bigquery/samples/snippets/update_dataset_access.py

Line 40 in effd673

entity_type = "groupByEmail"

All reactions

Sorry, something went wrong.

Uh oh!

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

steffnay added 4 commits December 6, 2021 14:42
@steffnay
Merge branch 'main' of github.com:googleapis/python-bigquery into rem…
a8bb794
…ove-entity-val
@steffnay
add test and cache the resource from from_api_repr in a _properties v…
4eefa26
…alue
@steffnay
lint
49d06d3
@steffnay
update samples to use enums
314636d
@steffnay
steffnay requested a review from a team as a code owner December 6, 2021 23:46
@steffnay
steffnay requested a review from tswast December 7, 2021 18:58
steffnay
steffnay commented Dec 7, 2021
View reviewed changes
Comment thread google/cloud/bigquery/dataset.py Resolved

Uh oh!

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

tswast
tswast suggested changes Dec 8, 2021
View reviewed changes
Comment thread tests/unit/test_dataset.py Resolved

Uh oh!

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

steffnay added 3 commits December 10, 2021 13:39
@steffnay
Merge branch 'main' of github.com:googleapis/python-bigquery into rem…
fac3119
…ove-entity-val
@steffnay
update to_api_repr and add tests
dc08e74
@steffnay
refactor
17b991d
@steffnay
steffnay requested a review from tswast December 13, 2021 23:31
tswast
tswast approved these changes Dec 14, 2021
View reviewed changes
@tswast
tswast merged commit c098cd0 into googleapis:main Dec 14, 2021
This was referenced Jan 4, 2022
chore(main): release python-bigquery 1.27.1 #1097
Closed
chore(main): release 2.32.0 #1104
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jan 13, 2022
@release-please
chore(main): release 2.32.0 (#1104)
643b333
🤖 I have created a release *beep* *boop*
---


## [2.32.0](v2.31.0...v2.32.0) (2022-01-12)


### Features

* support authorized dataset entity ([#1075](#1075)) ([c098cd0](c098cd0))


### Bug Fixes

* remove query text from exception message, use `exception.debug_message` instead ([#1105](#1105)) ([e23114c](e23114c))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please release-please Bot mentioned this pull request Jan 13, 2022
chore(main): release 2.32.0 #1108
Closed
abdelmegahedgoogle pushed a commit to abdelmegahedgoogle/python-bigquery that referenced this pull request Apr 17, 2023
@steffnay @abdelmegahedgoogle
feat: support authorized dataset entity (googleapis#1075)
f01e666
* 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
abdelmegahedgoogle pushed a commit to abdelmegahedgoogle/python-bigquery that referenced this pull request Apr 17, 2023
@release-please @abdelmegahedgoogle
chore(main): release 2.32.0 (googleapis#1104)
742edc9
🤖 I have created a release *beep* *boop*
---


## [2.32.0](googleapis/python-bigquery@v2.31.0...v2.32.0) (2022-01-12)


### Features

* support authorized dataset entity ([googleapis#1075](googleapis#1075)) ([c098cd0](googleapis@c098cd0))


### Bug Fixes

* remove query text from exception message, use `exception.debug_message` instead ([googleapis#1105](googleapis#1105)) ([e23114c](googleapis@e23114c))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Mar 6, 2026
@release-please
chore(main): release 2.32.0 (#1104)
a19a2f1
🤖 I have created a release *beep* *boop*
---


## [2.32.0](googleapis/python-bigquery@v2.31.0...v2.32.0) (2022-01-12)


### Features

* support authorized dataset entity ([#1075](googleapis/python-bigquery#1075)) ([c098cd0](googleapis/python-bigquery@c098cd0))


### Bug Fixes

* remove query text from exception message, use `exception.debug_message` instead ([#1105](googleapis/python-bigquery#1105)) ([e23114c](googleapis/python-bigquery@e23114c))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@loferris loferris Awaiting requested review from loferris
1 more reviewer
@tswast tswast tswast 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. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support Authorized Dataset

Uh oh!

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

2 participants

@steffnay @tswast
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.