datastore.get() requires a list
Navigation Menu
{{ message }}
googleapis / google-cloud-python Public
- Notifications You must be signed in to change notification settings
- Fork 1.7k
Closed
Closed
Description
opened
on Mar 12, 2015See 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)
Metadata
Metadata
Assignees
Labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions