Skip to content

Commit 177bd97

Browse files
wchargingguuss
authored andcommitted
Fix Spanner BOOL example after upstream typo fix (#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
1 parent df32b6b commit 177bd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spanner/cloud-client/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ def query_data_with_bool(instance_id, database_id):
12071207
'outdoor_venue': exampleBool
12081208
}
12091209
param_type = {
1210-
'outdoor_venue': param_types.BOOE
1210+
'outdoor_venue': param_types.BOOL
12111211
}
12121212

12131213
with database.snapshot() as snapshot:

0 commit comments

Comments
 (0)