eladkal commented on a change in pull request #21441:
URL: https://github.com/apache/airflow/pull/21441#discussion_r806780535



##########
File path: airflow/providers/amazon/aws/exceptions.py
##########
@@ -29,6 +29,10 @@ def __init__(self, failures: list, message: str):
         self.message = message
         super().__init__(message)
 
+    def __reduce__(self):
+        return EcsOperatorError, (self.failures, self.message)
+
+

Review comment:
       ```suggestion
   ```

##########
File path: airflow/providers/amazon/aws/exceptions.py
##########
@@ -29,6 +29,10 @@ def __init__(self, failures: list, message: str):
         self.message = message
         super().__init__(message)
 
+    def __reduce__(self):
+        return EcsOperatorError, (self.failures, self.message)
+
+

Review comment:
       It shoudl fix the static tests

##########
File path: airflow/providers/amazon/aws/exceptions.py
##########
@@ -29,6 +29,10 @@ def __init__(self, failures: list, message: str):
         self.message = message
         super().__init__(message)
 
+    def __reduce__(self):
+        return EcsOperatorError, (self.failures, self.message)
+
+

Review comment:
       It should fix the static tests




-- 
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: [email protected]

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


Reply via email to