Skip to content

Commit 959d137

Browse files
committed
nit
1 parent 9a948eb commit 959d137

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/databricks/sql/auth/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ def get_effective_azure_login_app_id(hostname) -> str:
7272
def get_azure_tenant_id_from_host(host: str, http_client=None) -> str:
7373
"""
7474
Load the Azure tenant ID from the Azure Databricks login page.
75+
76+
This function retrieves the Azure tenant ID by making a request to the Databricks
77+
Azure Active Directory (AAD) authentication endpoint. The endpoint redirects to
78+
the Azure login page, and the tenant ID is extracted from the redirect URL.
7579
"""
7680

7781
if http_client is None:

src/databricks/sql/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,8 @@ def execute(
816816
transformed_operation, normalized_parameters, param_structure
817817
)
818818

819+
print(f"Prepared operation: {prepared_operation}")
820+
print(f"Prepared parameters: {prepared_params}")
819821
self._check_not_closed()
820822
self._close_and_clear_active_result_set()
821823
execute_response = self.thrift_backend.execute_command(

0 commit comments

Comments
 (0)