Skip to content

Commit 6797f83

Browse files
authored
chore(FIR-42243): Mark cursor.query_id as not populated in docstring (#432)
1 parent 3e356a0 commit 6797f83

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/firebolt/common/cursor/base_cursor.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__(
9898
# Server-side parameters (user can't change them)
9999
self.parameters: Dict[str, str] = dict()
100100
self.engine_url = ""
101-
self._query_id = ""
101+
self._query_id = "" # not used
102102
self._query_token = ""
103103
self._row_set: Optional[BaseRowSet] = None
104104
self._reset()
@@ -149,7 +149,11 @@ def rowcount(self) -> int:
149149
@property # type: ignore
150150
@check_not_closed
151151
def query_id(self) -> str:
152-
"""The query id of a query executed asynchronously."""
152+
"""
153+
Deprecated: This property is not populated anymore and is left for
154+
backward compatibility.
155+
"""
156+
# FIR-42243
153157
return self._query_id
154158

155159
@property

0 commit comments

Comments
 (0)