snowflake.snowpark.QueryHistory¶ class snowflake.snowpark.QueryHistory(session: Session, include_describe: bool = False, include_thread_id: bool = False)[source]¶ Bases: object A context manager that listens to and records SQL queries that are pushed down to the Snowflake database. See also snowflake.snowpark.Session.query_history(). Attributes include_describe include_thread_id queries