From e2247268550dfdc05f4eb9954349ad62b412baa4 Mon Sep 17 00:00:00 2001 From: Walter Poupore Date: Thu, 4 Feb 2016 10:52:00 -0800 Subject: [PATCH] Provides eventual_consistent_query region tag with comment saying read consisteny cannot be specified in gcloud-python. --- datastore/api/snippets.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/datastore/api/snippets.py b/datastore/api/snippets.py index d58b2aa0de74..0ad71713e3fa 100644 --- a/datastore/api/snippets.py +++ b/datastore/api/snippets.py @@ -786,6 +786,13 @@ def property_by_kind_run_query(client): return representations_by_property +def eventual_consistent_query(client): + + # [START eventual_consistent_query] + # Read consistency cannot be specified in gcloud-python. + # [END eventual_consistent_query] + + return def main(project_id): client = datastore.Client(project_id)