dazza-codes commented on a change in pull request #6811: [RFC][AIRFLOW-6245] 
Add custom waiters for AWS batch jobs
URL: https://github.com/apache/airflow/pull/6811#discussion_r361035282
 
 

 ##########
 File path: tests/test_core_to_contrib.py
 ##########
 @@ -757,6 +757,11 @@
         "airflow.providers.amazon.aws.operators.batch.AwsBatchOperator",
         "airflow.contrib.operators.awsbatch_operator.AWSBatchOperator",
     ),
+    # # Leave this out to avoid TypeError: Instance and class checks can only 
be used with @runtime protocols
+    # (
+    #     "airflow.providers.amazon.aws.hooks.batch_client.AwsBatchProtocol",
+    #     "airflow.contrib.operators.awsbatch_operator.BatchProtocol",
+    # ),
 
 Review comment:
   This is fixed, although it was more complicated than expected.  The 
`Protocol` classes need special treatment in the class definitions and 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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to