turbaszek edited a comment on issue #12068: URL: https://github.com/apache/airflow/issues/12068#issuecomment-721228359
The operator on master branch has the same interface: https://github.com/apache/airflow/blob/980c7252c0f28c251e9f87d736cd88d6027f3da3/airflow/providers/amazon/aws/operators/batch.py#L101-L116 as the one from `v1-10-stable`: https://github.com/apache/airflow/blob/65df1e802190d262b5e18fa9bc2e055768b96e28/airflow/contrib/operators/awsbatch_operator.py#L87-L99 But the code you posted comes from `1.10.4` version of the operators: https://github.com/apache/airflow/blob/a18283911750017a01d538bcdd48283b6a265bfb/airflow/contrib/operators/awsbatch_operator.py#L66-L69 To use operators from back port providers you need to import `from airflow.providers.amazon.aws...` ---------------------------------------------------------------- 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]
