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_r361015611
########## 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: A solution to this might be to use `@runtime_checkable` decorators, so if that works, I'll push up the fix for this PR to uncomment that code noted above. ---------------------------------------------------------------- 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