diff --git a/index.html b/index.html index 78a69e4f1f62..bc3a348af601 100755 --- a/index.html +++ b/index.html @@ -134,8 +134,9 @@

Retrieve Datastore Entities

from gcloud import datastore
 
-product_key = datastore.Key('Product', 123)
-print datastore.get([product_key])
+client = datastore.Client()
+product_key = client.key('Product', 123)
+print(client.get(product_key))