We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcfb0a commit 3ba03e4Copy full SHA for 3ba03e4
databricks/sdk/credentials_provider.py
@@ -681,6 +681,10 @@ def refresh(self) -> Token:
681
headers={
682
self.METADATA_SERVICE_VERSION_HEADER: self.METADATA_SERVICE_VERSION,
683
self.METADATA_SERVICE_HOST_HEADER: self.host
684
+ },
685
+ proxies={
686
+ # Metadata URL usually points to localhost, and the requests package doesn't exclude localhost from proxies by default
687
+ "no_proxy": "localhost,127.0.0.1"
688
})
689
json_resp: dict[str, Union[str, float]] = resp.json()
690
access_token = json_resp.get("access_token", None)
0 commit comments