-
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: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
If I know I want to create a new Person named jim
, it's a huge pain to get a handle on this entity.
What I would like to do:
entity = dataset.entity(['Person', 'jim'])
entity['age'] = 80
entity.save()
What I currently have to do:
key = Key.from_path(['Person', 'jim']).dataset(dataset)
entity = dataset.entity('Person').key(key)
entity['age'] = 80
entity.save()
This is a whole bunch of extra wiring I really shouldn't need to deal with.
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.