cruseakshay commented on code in PR #60440:
URL: https://github.com/apache/airflow/pull/60440#discussion_r2694452174


##########
providers/amazon/src/airflow/providers/amazon/aws/triggers/emr.py:
##########
@@ -357,10 +377,112 @@ def __init__(
             waiter_max_attempts=waiter_max_attempts,
             aws_conn_id=aws_conn_id,
         )
+        self.application_id = application_id
+        self.job_id = job_id
+        self.cancel_on_kill = cancel_on_kill
 
     def hook(self) -> AwsGenericHook:
         return EmrServerlessHook(self.aws_conn_id)
 
+    if not AIRFLOW_V_3_0_PLUS:

Review Comment:
   Similiar approach in DataprocSubmitTrigger, DataprocClusterTrigger and 
BigQueryInsertJobTrigger. LMK if we need an alternative. 
https://github.com/apache/airflow/blob/f9877a07cd2693e9176814a2b113742d8f788a82/providers/google/src/airflow/providers/google/cloud/triggers/dataproc.py#L126



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