uranusjr commented on a change in pull request #17777:
URL: https://github.com/apache/airflow/pull/17777#discussion_r695297546



##########
File path: tests/test_utils/mock_process.py
##########
@@ -85,3 +84,15 @@ def __next__(self):
 
     def __iter__(self):
         yield from self.iterable
+
+
+class MockConnectionCursor(BaseMockConnectionCursor):
+    def __init__(self, *args, **kwargs):
+        super().__init__()
+        self.iterable = [(1, 1), (2, 2)]

Review comment:
       Could you remove all the `*args, **kwargs` arguments from the classes? I 
know they were there before this patch, but they are not needed and only 
require unnecessary mental overhead to read.




-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to