Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8438ab8

Browse files
committed
Changed name of fn
1 parent605d756 commit8438ab8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/databricks/sql/client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def get_session_id(self):
227227
returnself.thrift_backend.handle_to_id(self._session_handle)
228228

229229
defget_session_protocol_version(self):
230-
returnself.thrift_backend.handle_to_protocol_version(self._session_handle)
230+
returnself.thrift_backend.extract_protocol_version_from_handle(self._session_handle)
231231

232232
defget_session_id_hex(self):
233233
returnself.thrift_backend.handle_to_hex_id(self._session_handle)

‎src/databricks/sql/thrift_backend.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ def handle_to_id(session_handle):
10041004
returnsession_handle.sessionId.guid
10051005

10061006
@staticmethod
1007-
defhandle_to_protocol_version(session_handle):
1007+
defextract_protocol_version_from_handle(session_handle):
10081008
returnsession_handle.serverProtocolVersion
10091009

10101010
@staticmethod

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp