-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
@jgeewax We never use Entity.reload() within the library and it doesn't seem to be particularly useful and can even be replaced in a one liner:
entity.update(entity.key.get())What did you have in mind when you implemented it?
To give some more context, we have been discussing / making a case for removing Entity and just using a dict (as in gcloud-node) since most of the logic lives elsewhere. Entity.save() can be moved to gcloud.datastore.__init__ and so reload() is the only remaining blocker.
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.