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 0f5ca24 commit ee29b9bCopy full SHA for ee29b9b
src/databricks/sql/client.py
@@ -270,7 +270,7 @@ def read(self) -> Optional[OAuthToken]:
270
error_message=str(e),
271
host_url=server_hostname,
272
http_path=http_path,
273
- port=self.session.port if hasattr(self, "session") else None,
+ port=kwargs.get("_port", 443),
274
user_agent=self.session.useragent_header
275
if hasattr(self, "session")
276
else None,
0 commit comments