diff --git a/databricks/sdk/oauth.py b/databricks/sdk/oauth.py index 5b2a791c3..85b218280 100644 --- a/databricks/sdk/oauth.py +++ b/databricks/sdk/oauth.py @@ -10,7 +10,7 @@ from dataclasses import dataclass from datetime import datetime, timedelta from http.server import BaseHTTPRequestHandler, HTTPServer -from typing import Dict, List +from typing import Dict, List, Any import requests import requests.auth @@ -128,6 +128,9 @@ def __init__(self, feedback: list, *args): self._feedback = feedback super().__init__(*args) + def log_message(self, fmt: str, *args: Any) -> None: + logger.debug(fmt, *args) + def do_GET(self): from urllib.parse import parse_qsl parts = self.path.split('?')