From 4c041da94d541db6c9c36013b209582e027bd28e Mon Sep 17 00:00:00 2001 From: murilommen Date: Fri, 21 Jul 2023 16:50:10 -0300 Subject: [PATCH] fix format --- whylabs_toolkit/helpers/config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/whylabs_toolkit/helpers/config.py b/whylabs_toolkit/helpers/config.py index 73dc966..3475d22 100644 --- a/whylabs_toolkit/helpers/config.py +++ b/whylabs_toolkit/helpers/config.py @@ -1,7 +1,6 @@ import os import logging from enum import Enum -from urllib.parse import urlparse logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) @@ -20,12 +19,12 @@ def get_whylabs_api_key(self) -> str: return Validations.require(ConfigVars.WHYLABS_API_KEY) def get_whylabs_host(self) -> str: - _private_api_endpoint = Validations.get_or_default(ConfigVars.WHYLABS_PRIVATE_API_ENDPOINT) + _private_api_endpoint = Validations.get_or_default(ConfigVars.WHYLABS_PRIVATE_API_ENDPOINT) logger.debug(f"Using private API endpoint: {_private_api_endpoint}") _public_api_endpoint = Validations.get_or_default(ConfigVars.WHYLABS_HOST) return _private_api_endpoint or _public_api_endpoint - + def get_default_org_id(self) -> str: return Validations.require(ConfigVars.ORG_ID)