-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address seventh part of 451: Make dataset_id required on Key. #463
Conversation
0321c41 comments inline on the commit. |
0321c41
to
0e57202
Compare
RE: "Mutating RE: "Requiring |
I'm OK with leaving Maybe the |
e1ed6c5
to
cc93433
Compare
pb = key.to_protobuf() | ||
pb.partition_id.namespace = 'NAMESPACE' | ||
self.assertRaises(ValueError, key.compare_to_proto, pb) | ||
>>>>>>> 0e57202... Make dataset_id required on Key. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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.
cc93433
to
48d2015
Compare
@tseaver PTAL (removing |
returned from the datastore backend. The application | ||
**must** treat any value set by the back-end as opaque. | ||
:param dataset_id: The dataset ID associated with the key. This is | ||
required. Can only be passed as a keyword argument. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Address seventh part of 451: Make dataset_id required on Key.
… 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>
…p/templates/python_library/.kokoro (#463) Source-Link: https://github.com/googleapis/synthtool/commit/bb171351c3946d3c3c32e60f5f18cee8c464ec51 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f62c53736eccb0c4934a3ea9316e0d57696bb49c1a7c86c726e9bb8a2f87dadf
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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 <partheniou@google.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…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>
* 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 <partheniou@google.com>
Addresses seventh part of #451.
Also requires removing the
dataset_id
from generated protobufsdue to googleapis/google-cloud-datastore#59. This
occurs also in
__key__
filters and ancestor queries.NOTE: This has #462 as a diffbase.