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 — Address seventh part of 451: Make dataset_id required on Key. by dhermes · Pull Request #463 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Dec 23, 2014

Copy link
Copy Markdown
Contributor

Addresses seventh part of #451.

Also requires removing the dataset_id from generated protobufs
due to googleapis/google-cloud-datastore#59. This
occurs also in __key__ filters and ancestor queries.

NOTE: This has #462 as a diffbase.

Sorry, something went wrong.

Uh oh!

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

All reactions
@dhermes dhermes mentioned this pull request Dec 23, 2014
Update Key API to be more user-friendly per design doc discussion #451
Closed
10 tasks done
@coveralls

coveralls commented Dec 23, 2014

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 0321c41 on dhermes:fix-451-part7 into b343acf on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Dec 30, 2014

Copy link
Copy Markdown
Contributor

0321c41 comments inline on the commit.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes dhermes changed the title Address sixth part of 451: Make dataset_id required on Key. Address seventh part of 451: Make dataset_id required on Key. Dec 30, 2014
@dhermes
dhermes force-pushed the fix-451-part7 branch from 0321c41 to 0e57202 Compare December 30, 2014 18:12
@dhermes

dhermes commented Dec 30, 2014

Copy link
Copy Markdown
Contributor Author

RE: "Mutating key_pb in helper._prepare_key_for_request". It's fine with me, I just didn't want to be presumptuous about callers expectations. If users ever use the public methods on Connection directly, this would cause side effects they may not expect. I also considered adding a flag to Key.to_protobuf() that would allow dropping the dataset_id at creation time.

RE: "Requiring dataset_id in Key constructor". You are right it isn't truly required, but Key instantiation will fail if the implicit one is not set. Should I just add a note about this higher up the docstring?

All reactions

Sorry, something went wrong.

Uh oh!

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

@coveralls

coveralls commented Dec 30, 2014

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 0e57202 on dhermes:fix-451-part7 into 8cb41f6 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes dhermes mentioned this pull request Dec 30, 2014
Address eighth part of 451: Add parent to constructor #476
Merged
@tseaver

tseaver commented Dec 31, 2014

Copy link
Copy Markdown
Contributor

I'm OK with leaving _prepare_key_for_request as is.

Maybe the :param dataset_id docstring should say, "Required, unless the implicit dataset ID has been set."

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
dhermes force-pushed the fix-451-part7 branch 2 times, most recently from e1ed6c5 to cc93433 Compare December 31, 2014 22:15
tseaver
tseaver reviewed Dec 31, 2014
View reviewed changes
Comment thread gcloud/datastore/test_key.py Outdated

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@dhermes
Make dataset_id required on Key.
48d2015
Addresses seventh part of googleapis#451.

Also requires removing the dataset_id from generated protobufs
due to googleapis/google-cloud-datastore#59. This
occurs also in __key__ filters and ancestor queries.
@dhermes
dhermes force-pushed the fix-451-part7 branch from cc93433 to 48d2015 Compare December 31, 2014 22:29
@coveralls

coveralls commented Dec 31, 2014

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 48d2015 on dhermes:fix-451-part7 into e86ba09 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
Clarifying required-ness of dataset_id in Key constructor.
f697464
@dhermes

dhermes commented Dec 31, 2014

Copy link
Copy Markdown
Contributor Author

@tseaver PTAL (removing compare_to_proto turned out to make git unhappy on the rebase)

All reactions

Sorry, something went wrong.

Uh oh!

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

tseaver
tseaver reviewed Dec 31, 2014
View reviewed changes
Comment thread gcloud/datastore/key.py Outdated

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@coveralls

coveralls commented Dec 31, 2014

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling f697464 on dhermes:fix-451-part7 into e86ba09 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

tseaver added a commit that referenced this pull request Dec 31, 2014
@tseaver
Merge pull request #463 from dhermes/fix-451-part7
8b04561
Address seventh part of 451: Make dataset_id required on Key.
@tseaver
tseaver merged commit 8b04561 into googleapis:master Dec 31, 2014
@dhermes
dhermes deleted the fix-451-part7 branch December 31, 2014 22:38
@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Dec 31, 2015
parthea pushed a commit that referenced this pull request Jun 4, 2023
@gcf-owl-bot
feat: Added Training and Evaluation functions, request, responses and…
ca22baf
… metadata to document_processor_service.proto (#463)

* feat: Added Training and Evaluation functions, request, responses and metadata to document_processor_service.proto
feat: Added evaluation.proto
feat: Added latest_evaluation to processor.proto
chore: removed deprecated flag from REPLACE in OperationType in document.proto

PiperOrigin-RevId: 511230520

Source-Link: googleapis/googleapis@c53bf8d

Source-Link: googleapis/googleapis-gen@5693cbc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTY5M2NiYzk4YjY0MTIwODVmZjZkM2FiYTcxOWI2OGUzMDdjNTM1NyJ9

* 🦉 Updates from OwlBot post-processor

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

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Jun 4, 2023
@gcf-owl-bot
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
62b95f5
…p/templates/python_library/.kokoro (#463)

Source-Link: https://togithub.com/googleapis/synthtool/commit/bb171351c3946d3c3c32e60f5f18cee8c464ec51
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f62c53736eccb0c4934a3ea9316e0d57696bb49c1a7c86c726e9bb8a2f87dadf
parthea pushed a commit that referenced this pull request Aug 15, 2023
@release-please
chore(main): release 1.13.4 (#463)
b282cf6
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
@gcf-owl-bot @parthea
ci(python): run lint / unit tests / docs as GH actions (#463)
00ef1f8
Source-Link: googleapis/synthtool@57be0cd
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit that referenced this pull request Sep 22, 2023
@renovate-bot @parthea
chore(deps): update dependency google-cloud-bigquery to v3.11.0 (#463)
b8f0ada
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit that referenced this pull request Sep 22, 2023
@renovate-bot @parthea
chore(deps): update all dependencies (#463)
37d3fa4
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Oct 21, 2023
@release-please
chore(main): release 3.11.0 (#463)
13fc8aa
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Oct 21, 2023
@gcf-owl-bot
chore(python): allow client documentation to be customized in README (#…
a7514a1
…463)

Source-Link: googleapis/synthtool@95d9289
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:c8878270182edaab99f2927969d4f700c3af265accd472c3425deedff2b7fd93

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Oct 21, 2023
@renovate-bot
chore(deps): update dependency google-cloud-storage to v2.6.0 (#463)
58f8133
parthea added a commit that referenced this pull request Oct 21, 2023
@renovate-bot @gcf-owl-bot @parthea
chore(deps): update all dependencies (#463)
e4b3cd8
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

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

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Aug 21, 2025
@gcf-owl-bot
chore: add prerelease nox session (#463)
c1ce62c
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 16, 2025
@gcf-owl-bot @parthea
chore: add prerelease nox session (#463)
f4c1b7c
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 18, 2025
@renovate-bot @tswast
chore(deps): update all dependencies (#463)
3abd31c
Co-authored-by: Tim Swast <[email protected]>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@renovate-bot
chore(deps): update dependency google-api-core to v1.20.1 (#463)
a62dc8f
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
docs: fix typos in proto/message.py (#463)
fb9ca99
parthea added a commit that referenced this pull request Nov 24, 2025
@aribray @parthea
fix: require google-auth >= 2.14.1 (#463)
f680f77
* bump google-auth version to 2.13.0

* chore: set minimum to 2.14.1 instead

Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
chore: test minimum dependencies in python 3.7 (#463)
306d199
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot
build(deps): [autoapprove] bump certifi from 2022.12.7 to 2023.7.22 (#…
2129346
…463)

Source-Link: googleapis/synthtool@395d53a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:6c1cbc75c74b8bdd71dada2fa1677e9d6d78a889e9a70ee75b93d1d0543f96e1

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gkevinzheng @gcf-owl-bot
feat: use native namespaces instead of pkg_resources (#463)
828106b
* feat: use native namespaces instead of pkg_resources

* 🦉 Updates from OwlBot post-processor

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

* Fixed comments in test_packaging.py

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@tseaver
tests: ensure systests pass under emulator in a clean environment (#464)
63ff2c6
Add Github workflow to run systests under emulator.

Avoid default credential/project lookup under emulator

Closes #463.
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot
chore(samples): Add check for tests in directory (#463)
54f87d6
Source-Link: googleapis/synthtool@52aef91
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:36a95b8f494e4674dc9eee9af98961293b51b86b3649942aac800ae6c1f796d4

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
Chris Rossi
feat: allow Query.fetch_page for queries with post filters (#463)
1111906
Closes #270
parthea pushed a commit that referenced this pull request Nov 25, 2025
@gcf-owl-bot
chore(samples): Add check for tests in directory (#463)
a7dbe8b
Source-Link: googleapis/synthtool@52aef91
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:36a95b8f494e4674dc9eee9af98961293b51b86b3649942aac800ae6c1f796d4

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 26, 2025
@release-please
chore: release 1.12.0 (#463)
8ada9dc
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.12.0](https://www.github.com/googleapis/google-auth-library-python/compare/v1.11.3...v1.12.0) (2020-03-25)


### Features

* add mTLS ADC support for HTTP ([#457](https://www.github.com/googleapis/google-auth-library-python/issues/457)) ([bb9215a](https://www.github.com/googleapis/google-auth-library-python/commit/bb9215ad6dee6c1dc7f255a2e4ed7011b85bd6cf))
* add SslCredentials class for mTLS ADC ([#448](https://www.github.com/googleapis/google-auth-library-python/issues/448)) ([dafb41f](https://www.github.com/googleapis/google-auth-library-python/commit/dafb41fae3f513ea9a4f93404f6148bee7dda202))
* fetch id token from GCE metadata server ([#462](https://www.github.com/googleapis/google-auth-library-python/issues/462)) ([97e7700](https://www.github.com/googleapis/google-auth-library-python/commit/97e7700da031bfd80b63b1a3d2abc29c500936ef))


### Bug Fixes

* don't use threads for gRPC AuthMetadataPlugin ([#467](https://www.github.com/googleapis/google-auth-library-python/issues/467)) ([ee373f8](https://www.github.com/googleapis/google-auth-library-python/commit/ee373f88b512a38e791a1c085452c6c6da501eb6))
* make ThreadPoolExecutor a class var ([#461](https://www.github.com/googleapis/google-auth-library-python/issues/461)) ([b526473](https://www.github.com/googleapis/google-auth-library-python/commit/b5264730603947295cc97ecff2f6aef84aa3d6e9))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
parthea pushed a commit that referenced this pull request Mar 2, 2026
@busunkim96
chore: require CODEOWNER review and up to date branches (#463)
9e9b20d
These two lines bring the rules on this repo in line with the defaults:

https://github.com/googleapis/repo-automation-bots/blob/63c858e539e1f4d9bb8ea66e12f9c0a0de5fef55/packages/sync-repo-settings/src/required-checks.json#L40-L50
parthea pushed a commit that referenced this pull request Mar 6, 2026
Gurov Ilya @c24t
feat: cursor must detect if the parent connection is closed (#463)
fcfcef4
parthea pushed a commit that referenced this pull request Mar 9, 2026
@renovate-bot
chore(deps): update dependency argcomplete to v3 (#463)
7e02e1f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

api: datastore Issues related to the Datastore 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.

3 participants

@dhermes @coveralls @tseaver
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.