-
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
Update Key API to be more user-friendly per design doc discussion #451
Labels
api: datastore
Issues related to the Datastore API.
🚨
This issue needs some love.
triage me
I really want to be triaged.
Comments
This was referenced Dec 21, 2014
Closed
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 22, 2014
Addresses first part of googleapis#451. Also removes uses of path in place of key since Key constructor will enable such easy use going forward.
dhermes
changed the title
Change Key constructor to accept paths as args
Update Key API to be more user-friendly per design doc discussion
Dec 23, 2014
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 23, 2014
Addresses second part of googleapis#451. In some cases, since no valid replacements for setters are implemented here, the functionality is replaced with hacks using protected methods. Also added a getter for Key._dataset_id and made the Key.path property return a copy since a `list` of `dict`s is very much mutable.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 23, 2014
This is in preparation for adding parent to the constructor. Addresses third part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 23, 2014
Addresses fourth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 23, 2014
Addresses fifth part of googleapis#451.
UPDATE: Not necessary since We should probably also move
(repeated in |
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 23, 2014
Addresses sixth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 23, 2014
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
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 23, 2014
Addresses first part of googleapis#451. Also removes uses of path in place of key since Key constructor will enable such easy use going forward.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
Addresses first part of googleapis#451. Also removes uses of path in place of key since Key constructor will enable such easy use going forward.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
Addresses second part of googleapis#451. In some cases, since no valid replacements for setters are implemented here, the functionality is replaced with hacks using protected methods. Also added a getter for Key._dataset_id and made the Key.path property return a copy since a `list` of `dict`s is very much mutable.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
This is in preparation for adding parent to the constructor. Addresses third part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
Addresses fourth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
Addresses fifth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
Addresses sixth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
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
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 30, 2014
Addresses eighth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
Addresses fourth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
Addresses fifth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
Addresses sixth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
Addresses sixth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
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
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
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
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
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
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
Addresses sixth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
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
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
Addresses eighth part of googleapis#451.
dhermes
added a commit
to dhermes/google-cloud-python
that referenced
this issue
Dec 31, 2014
Addresses eighth part of googleapis#451.
Putting off bulk doc fixes until API is stable again |
yoshi-automation
added
triage me
I really want to be triaged.
🚨
This issue needs some love.
labels
Apr 7, 2020
atulep
pushed a commit
that referenced
this issue
Apr 6, 2023
Co-authored-by: Nitsan Shai <nshai@google.com> Co-authored-by: nicain <nicain.seattle@gmail.com>
atulep
pushed a commit
that referenced
this issue
Apr 6, 2023
Co-authored-by: Nitsan Shai <nshai@google.com> Co-authored-by: nicain <nicain.seattle@gmail.com>
atulep
pushed a commit
that referenced
this issue
Apr 18, 2023
Co-authored-by: Nitsan Shai <nshai@google.com> Co-authored-by: nicain <nicain.seattle@gmail.com>
parthea
pushed a commit
that referenced
this issue
Jun 4, 2023
PiperOrigin-RevId: 504600937 Source-Link: googleapis/googleapis@91bee51 Source-Link: googleapis/googleapis-gen@70424b9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzA0MjRiOTQ1N2QxNWVkODUyYTBhMGI5YTRmMDMyZjJiMzA5YjMyYyJ9 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea
pushed a commit
that referenced
this issue
Aug 15, 2023
Source-Link: googleapis/synthtool@56da63e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:993a058718e84a82fda04c3177e58f0a43281a996c7c395e0a56ccc4d6d210d7
parthea
pushed a commit
that referenced
this issue
Sep 22, 2023
* docs: removes deprecated sample * modifies tags to matched deprecated function call
parthea
added a commit
that referenced
this issue
Sep 22, 2023
* 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>
parthea
added a commit
that referenced
this issue
Sep 22, 2023
* fix(deps): allow protobuf 3.19.5 * explicitly exclude protobuf 4.21.0
parthea
pushed a commit
that referenced
this issue
Oct 22, 2023
Co-authored-by: Nitsan Shai <nshai@google.com> Co-authored-by: nicain <nicain.seattle@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: datastore
Issues related to the Datastore API.
🚨
This issue needs some love.
triage me
I really want to be triaged.
Related
to #3 andhttps://docs.google.com/document/d/1xKw8Tz6lfN5uOcv0my4uUgFSeDoRzwCLho2UGlBpqDU/edit
Plan to make this work:
Key.from_path
(since will be new constructor) (Address first part of 451: Remove Key.from_path #456)parent
re-use an instance (since immutable) (Address third part of 451: Storing Key.parent on instance for future calls #459)Key
constructor act likeKey.from_path
(Address fourth part of 451: Make Key constructor easier to use by taking positional args. #460)Key.complete_key
method (needs better name) to act likeKey.id(new_id)
(Address fifth part of 451: Implement Key.complete_key for auto_id on partial keys. #461)Key.compare_to_proto
to check a key against a retrieved key (needs better name) (Address sixth part of 451: Implement Key.compare_to_proto to check pb keys against existing. #462)dataset_id
onKey
(may require removingdataset_id
from `Key protos) (Address seventh part of 451: Make dataset_id required on Key. #463)parent
to constructor (Address eighth part of 451: Add parent to constructor #476)Update docstrings and other docs to reflect changes (including(Putting off bulk doc fixes until API is stable again)__repr__
, probably shouldn't havepath
)Change(filed Remove dataset from Entity constructor and allow a key #484)Entity
constructor to only accept akey
. (This can probably move to a new bug, which I have yet to file.)The text was updated successfully, but these errors were encountered: