Skip to content

Commit

Permalink
Provides eventual_consistent_query region tag with comment saying rea…
Browse files Browse the repository at this point in the history
…d consisteny cannot be specified in gcloud-python.
  • Loading branch information
Walter Poupore committed Feb 4, 2016
1 parent 89ea04c commit e224726
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions datastore/api/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e224726

Please sign in to comment.