Skip to content

Commit

Permalink
Fix Spanner BOOL example after upstream typo fix [(#2356)](GoogleCl…
Browse files Browse the repository at this point in the history
…oudPlatform/python-docs-samples#2356)

Summary:
This code used to be correct, when the Spanner Python API had a typo in
the parameter name, but that typo was fixed in an upstream pull request:
<googleapis/google-cloud-python#7295>

Test Plan:
Running `git grep BOOE` now returns no results.

wchargin-branch: bool-not-booe
  • Loading branch information
wchargin authored and gguuss committed Sep 5, 2019
1 parent 02fc4e6 commit a2f1898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/samples/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ def query_data_with_bool(instance_id, database_id):
'outdoor_venue': exampleBool
}
param_type = {
'outdoor_venue': param_types.BOOE
'outdoor_venue': param_types.BOOL
}

with database.snapshot() as snapshot:
Expand Down

0 comments on commit a2f1898

Please sign in to comment.