Skip to content

datastore.get() requires a list #701

Description

@jgeewax

See http://googlecloudplatform.github.io/gcloud-python/

The snippet is:

fromgcloudimportdatastoredatastore.set_defaults()
product_key=datastore.Key('Product', 123)
printdatastore.get([product_key])

I'd expect it to be:

fromgcloudimportdatastoreproduct_key=datastore.Key('Product', 123)
product=datastore.get(product_key)

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions