Skip to content

datastore.get() requires a list #701

Description

@jgeewax

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

The snippet is:

from gcloud import datastore
datastore.set_defaults()

product_key = datastore.Key('Product', 123)
print datastore.get([product_key])

I'd expect it to be:

from gcloud import datastore
product_key = datastore.Key('Product', 123)
product = datastore.get(product_key)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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