Skip to content

Commit ee29b9b

Browse files
committed
check types fix
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent 0f5ca24 commit ee29b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def read(self) -> Optional[OAuthToken]:
270270
error_message=str(e),
271271
host_url=server_hostname,
272272
http_path=http_path,
273-
port=self.session.port if hasattr(self, "session") else None,
273+
port=kwargs.get("_port", 443),
274274
user_agent=self.session.useragent_header
275275
if hasattr(self, "session")
276276
else None,

0 commit comments

Comments
 (0)