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 a6763ee commit 1f8492cCopy full SHA for 1f8492c
databricks/sdk/credentials_provider.py
@@ -684,7 +684,8 @@ def refresh(self) -> Token:
684
self.METADATA_SERVICE_HOST_HEADER: self.host
685
},
686
proxies={
687
- # Metadata URL usually points to localhost, and the requests package doesn't exclude localhost from proxies by default
+ # Explicitly exclude localhost from being proxied. This is necessary
688
+ # for Metadata URLs which typically point to localhost.
689
"no_proxy": "localhost,127.0.0.1"
690
})
691
json_resp: dict[str, Union[str, float]] = resp.json()
0 commit comments