From 23b1e890289f9536cf065a8bec051619997c4805 Mon Sep 17 00:00:00 2001 From: William Chargin Date: Thu, 22 Aug 2019 12:20:46 -0700 Subject: [PATCH] Fix Spanner `BOOL` example after upstream typo fix 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: Test Plan: Running `git grep BOOE` now returns no results. wchargin-branch: bool-not-booe --- spanner/cloud-client/snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spanner/cloud-client/snippets.py b/spanner/cloud-client/snippets.py index 60f296ef630..d2cbf2f9bf6 100644 --- a/spanner/cloud-client/snippets.py +++ b/spanner/cloud-client/snippets.py @@ -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: