Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: fix lint
  • Loading branch information
larkee committed Jun 7, 2021
commit ae6a8ba3d13ec6cd6d5c0829fb9bd5b4251a7089
2 changes: 1 addition & 1 deletion google/cloud/spanner_v1/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def __init__(

env_query_options = ExecuteSqlRequest.QueryOptions(
optimizer_version=_get_spanner_optimizer_version(),
optimizer_statistics_package=_get_spanner_optimizer_statistics_package()
optimizer_statistics_package=_get_spanner_optimizer_statistics_package(),
)

# Environment flag config has higher precedence than application config.
Expand Down
5 changes: 1 addition & 4 deletions tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ def _constructor_test_helper(
expected_client_options.api_endpoint,
)
if expected_query_options is not None:
self.assertEqual(
client._query_options,
expected_query_options
)
self.assertEqual(client._query_options, expected_query_options)

@mock.patch("google.cloud.spanner_v1.client._get_spanner_emulator_host")
@mock.patch("warnings.warn")
Expand Down