This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google/cloud/bigtable/data/_async Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,7 +243,9 @@ def __init__(
243243 )
244244 self ._is_closed = CrossSync .Event ()
245245 # Private argument, for internal use only
246- self ._disable_background_refresh = bool (kwargs .get ("_disable_background_refresh" , False ))
246+ self ._disable_background_refresh = bool (
247+ kwargs .get ("_disable_background_refresh" , False )
248+ )
247249 self .transport = cast (TransportType , self ._gapic_client .transport )
248250 # keep track of active instances to for warmup on channel refresh
249251 self ._active_instances : Set [_WarmedInstanceKey ] = set ()
Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ async def test_ctor_super_inits(self):
180180 async def test_ctor_legacy_client (self ):
181181 from google .api_core import client_options as client_options_lib
182182 from google .api_core .gapic_v1 .client_info import ClientInfo
183- from google .cloud .bigtable import __version__ as bigtable_version
184183
185184 project = "project-id"
186185 credentials = AnonymousCredentials ()
Original file line number Diff line number Diff line change @@ -405,7 +405,10 @@ def test_client_veneer_data_client_not_initialized():
405405 assert client ._table_data_client is data_client
406406
407407 assert client ._table_data_client ._disable_background_refresh
408- assert client ._table_data_client .client_info .client_library_version == f"{ __version__ } -data-shim"
408+ assert (
409+ client ._table_data_client .client_info .client_library_version
410+ == f"{ __version__ } -data-shim"
411+ )
409412 copy_mock .assert_called_once_with (client ._client_info )
410413
411414
@@ -427,7 +430,10 @@ def test_client_veneer_data_client_not_initialized_w_client_info():
427430 assert client ._client_info is client_info
428431 assert client ._table_data_client .client_info is copy_mock .return_value
429432 assert client ._table_data_client ._disable_background_refresh
430- assert client ._table_data_client .client_info .client_library_version == f"{ __version__ } -data-shim"
433+ assert (
434+ client ._table_data_client .client_info .client_library_version
435+ == f"{ __version__ } -data-shim"
436+ )
431437 copy_mock .assert_called_once_with (client_info )
432438
433439
You can’t perform that action at this time.
0 commit comments