class_docstr: Define attributes of the queries that will be picked up by the performance tests.
class_docstr_tok: ["Define","attributes","of","the","queries","that","will","be","picked","up","by","the","performance","tests","."]
docstr: Convert selected attributes of the instance into a dictionary.
docstr_tok: ["Convert","selected","attributes","of","the","instance","into","a","dictionary","."]
code: def to_dict(self):
      """
      Convert selected attributes of the instance into a dictionary.
      """
      return dict(
          zip(
              ("function", "file", "location", "sql", "stack", "time"),
              self,
          )
      )
  
file_path: airflow/dev/perf/sql_queries.py
imports: from __future__ import annotations
  import os
  import statistics
  import textwrap
  from time import monotonic, sleep
  from typing import NamedTuple
  import pandas
  from airflow.jobs.job import Job, run_job
label_desc: Use image node_id 3 for calling the Query obj's underlying member method code with example usage: obj.to_dict() and returns: dict