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: Override the __eq__ method to compare specific Query attributes
docstr_tok: ["Override","the","__eq__","method","to","compare","specific","Query","attributes"]
code: def __eq__(self, other):
      """
      Override the __eq__ method to compare specific Query attributes
      """
      return (
          self.function == other.function
          and self.sql == other.sql
          and self.location == other.location
          and self.file == other.file
      )
  
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 2 for calling the Query obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown