File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1238,6 +1238,7 @@ def check_can_use_pandas(self) -> None:
1238
1238
)
1239
1239
1240
1240
def query_result (self , qid : str ) -> SnowflakeCursor :
1241
+ """Query the result of a previously executed query."""
1241
1242
url = f"/queries/{ qid } /result"
1242
1243
ret = self ._connection .rest .request (url = url , method = "get" )
1243
1244
self ._sfqid = (
@@ -1631,7 +1632,9 @@ def __exit__(
1631
1632
self .close ()
1632
1633
1633
1634
def get_results_from_sfqid (self , sfqid : str ) -> None :
1634
- """Gets the results from previously ran query."""
1635
+ """Gets the results from previously ran query. This methods differs from ``SnowflakeCursor.query_result``
1636
+ in that it monitors the ``sfqid`` until it is no longer running, and then retrieves the results.
1637
+ """
1635
1638
1636
1639
def wait_until_ready () -> None :
1637
1640
"""Makes sure query has finished executing and once it has retrieves results."""
You can’t perform that action at this time.
0 commit comments