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 a4304a1Copy full SHA for a4304a1
databricks/sdk/credentials_provider.py
@@ -681,6 +681,11 @@ 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, so we need to exclude it from proxy
687
+ # as the requests package doesn't exclude localhost from proxies by default
688
+ "no_proxy": "localhost,127.0.0.1"
689
})
690
json_resp: dict[str, Union[str, float]] = resp.json()
691
access_token = json_resp.get("access_token", None)
0 commit comments