Skip to content

Commit 4a2386b

Browse files
committed
removed discovery_url
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent c47bc73 commit 4a2386b

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/databricks/sql/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ def read(self) -> Optional[OAuthToken]:
316316
host_info=HostDetails(host_url=server_hostname, port=self.port),
317317
auth_mech=TelemetryHelper.get_auth_mechanism(auth_provider),
318318
auth_flow=TelemetryHelper.get_auth_flow(auth_provider),
319-
discovery_url=TelemetryHelper.get_discovery_url(auth_provider),
320319
socket_timeout=kwargs.get("_socket_timeout", None),
321320
)
322321

src/databricks/sql/telemetry/telemetry_client.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,6 @@ def get_auth_flow(auth_provider):
8686

8787
return None
8888

89-
@staticmethod
90-
def get_discovery_url(auth_provider):
91-
"""Get the discovery URL for the auth provider."""
92-
if not auth_provider:
93-
return None
94-
95-
if isinstance(auth_provider, DatabricksOAuthProvider):
96-
return auth_provider.oauth_manager.idp_endpoint.get_openid_config_url(
97-
auth_provider.hostname
98-
)
99-
return None
100-
10189

10290
class BaseTelemetryClient(ABC):
10391
"""

0 commit comments

Comments
 (0)