uranusjr commented on code in PR #50932:
URL: https://github.com/apache/airflow/pull/50932#discussion_r2103371325


##########
providers/amazon/src/airflow/providers/amazon/aws/operators/batch.py:
##########
@@ -145,7 +145,7 @@ class BatchOperator(AwsBaseOperator[BatchClientHook]):
     def operator_extra_links(self):
         op_extra_links = [BatchJobDetailsLink()]
 
-        if isinstance(self, MappedOperator):
+        if self.is_mapped or isinstance(self, MappedOperator):

Review Comment:
   ```suggestion
           if self.is_mapped:
   ```
   
   MappedOperator always has this flag set to True. We can remove the import 
altogether now too.



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