Skip to content

Commit 7689d75

Browse files
better comment on protocol version getter
Signed-off-by: varun-edachali-dbx <[email protected]>
1 parent 93e55e8 commit 7689d75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/databricks/sql/backend/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ def get_protocol_version(self):
169169
Get the server protocol version for this session.
170170
171171
Returns:
172-
The server protocol version or None if this is not a Thrift session ID
172+
The server protocol version or None if it does not exist
173+
It is not expected to exist for SEA sessions.
173174
"""
174175
return self.properties.get("serverProtocolVersion")
175176

0 commit comments

Comments
 (0)