Skip to content

Commit 8d06f5e

Browse files
better docstrings
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent e1a8c43 commit 8d06f5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/databricks/sql/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def get_session_id_hex(self):
349349

350350
@staticmethod
351351
def server_parameterized_queries_enabled(protocolVersion):
352-
"""Delegate to Session class static method"""
352+
"""Check if parameterized queries are enabled for the given protocol version"""
353353
return Session.server_parameterized_queries_enabled(protocolVersion)
354354

355355
@property
@@ -359,7 +359,7 @@ def protocol_version(self):
359359

360360
@staticmethod
361361
def get_protocol_version(openSessionResp: TOpenSessionResp):
362-
"""Delegate to Session class static method"""
362+
"""Get the protocol version from the OpenSessionResp object"""
363363
properties = (
364364
{"serverProtocolVersion": openSessionResp.serverProtocolVersion}
365365
if openSessionResp.serverProtocolVersion

0 commit comments

Comments
 (0)