Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-evandenberg committed Sep 17, 2024
1 parent 0d322dd commit 2754839
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/snowflake/snowpark/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -3468,8 +3468,7 @@ def query_history(self, include_describe: bool = False) -> QueryHistory:
... res = df.collect()
>>> assert len(query_history.queries) == 2
>>> assert query_history.queries[0].is_describe
>>> assert query_history.queries[1].is_describe
>>> assert not query_history.queries[2].is_describe
>>> assert not query_history.queries[1].is_describe
"""
query_listener = QueryHistory(self, include_describe)
self._conn.add_query_listener(query_listener)
Expand Down

0 comments on commit 2754839

Please sign in to comment.