zhongjiajie commented on pull request #8231:
URL: https://github.com/apache/airflow/pull/8231#issuecomment-654165302


   Hi, @mik-laj . I try to add decorator and test sql query using perf_kit, but 
could not work, could you tell what I miss? 
https://github.com/apache/airflow/blob/57b495caa40f9efe21ca66bba805a8dc7c7c1256/scripts/perf/perf_kit/__init__.py#L101-L103
   
   The error message as below
   
   ```log
   tests/models/test_dag.py:56: in <module>
       class TestDag(unittest.TestCase):
   tests/models/test_dag.py:657: in TestDag
       @trace_queries
   E   TypeError: __init__() takes 1 positional argument but 2 were given
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to