GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — feat: refactor AccessEntry to use _properties pattern by steffnay · Pull Request #1125 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Conversation
|
| def dataset(self) -> Optional[DatasetReference]: | ||
| """API resource representation of a dataset reference.""" | ||
| return typing.cast( | ||
| Optional[DatasetReference], |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'd actually like to see _properties store the REST API version and the property getter call from_api_repr. Same for the other properties.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ess-entry-refactor
…gquery into access-entry-refactor
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looking really good! I'll approve, but there are a few edge cases you'll want to handle before merging.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Tim Swast <[email protected]>
Co-authored-by: Tim Swast <[email protected]>
Co-authored-by: Tim Swast <[email protected]>
…gquery into access-entry-refactor
* add view, dataset, routine properties * add properties and unit tests * lint * add properties and tests * remove unused imports * update test * add tests * add tests * add tests * add more tests * update return type * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * refactor to use get() and remove self._entity_id * delete unnecessary file * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * add types, remove unnecessary checks * fix types * types * add type casting * refactor AccessEntry repr * update to return DatasetReference * update to use RoutineRef and TableRef * add table test * update to use api_repr * lint * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * update tests * remove repeat type import Co-authored-by: Tim Swast <[email protected]>
* add view, dataset, routine properties * add properties and unit tests * lint * add properties and tests * remove unused imports * update test * add tests * add tests * add tests * add more tests * update return type * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * refactor to use get() and remove self._entity_id * delete unnecessary file * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * add types, remove unnecessary checks * fix types * types * add type casting * refactor AccessEntry repr * update to return DatasetReference * update to use RoutineRef and TableRef * add table test * update to use api_repr * lint * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * Update google/cloud/bigquery/dataset.py Co-authored-by: Tim Swast <[email protected]> * update tests * remove repeat type import Co-authored-by: Tim Swast <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
refactor AccessEntry to use_properties pattern
There was an error while loading. Please reload this page.