Commit 675280cb authored by Spencer Sutton's avatar Spencer Sutton
Browse files

Updating logger param

parent 0f95a203
Pipeline #72344 passed with stages
in 28 seconds
......@@ -28,7 +28,7 @@ class BaseClient:
Base client that is meant to be extended by service specific clients
"""
def __init__(self, config_manager: BaseConfigManager = None, data_partition_id = None):
def __init__(self, config_manager: BaseConfigManager = None, data_partition_id = None, logger = None):
"""
Base client gets initialized with configuration values and a bearer token
based on provider-specific logic
......@@ -38,7 +38,9 @@ class BaseClient:
if self.use_service_principal:
self._refresh_service_principal_token()
self.logger = logging.getLogger(__name__)
self.logger = logger
if self.logger is None:
self.logger = logging.getLogger(__name__)
def _parse_config(self, config_manager: BaseConfigManager = None, data_partition_id = None):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment