Skip to content

Commit e224726

Browse files
author
Walter Poupore
committed
Provides eventual_consistent_query region tag with comment saying read consisteny cannot be specified in gcloud-python.
1 parent 89ea04c commit e224726

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

datastore/api/snippets.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,13 @@ def property_by_kind_run_query(client):
786786

787787
return representations_by_property
788788

789+
def eventual_consistent_query(client):
790+
791+
# [START eventual_consistent_query]
792+
# Read consistency cannot be specified in gcloud-python.
793+
# [END eventual_consistent_query]
794+
795+
return
789796

790797
def main(project_id):
791798
client = datastore.Client(project_id)

0 commit comments

Comments
 (0)