-
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 have a person named Jim, and I want to get Jim, I can't do a look-up by path.
What I'd like to do
dataset.get_entity(['Person', 'jim'])
or
dataset.entity('Person').get('jim')
(or with an ancestor)
dataset.entity('Person').get('jim', parent='parent key name')
What I currently have to do
key = Key.from_path(['Person', 'jim'])
dataset.get_entity(key)
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.