Skip to content

Commit

Permalink
Fix Spanner BOOL example after upstream typo fix (#2356)
Browse files Browse the repository at this point in the history
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 df32b6b commit 177bd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spanner/cloud-client/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 177bd97

Please sign in to comment.