syedahsn commented on code in PR #26035:
URL: https://github.com/apache/airflow/pull/26035#discussion_r961135369
##########
airflow/providers/amazon/aws/sensors/emr.py:
##########
@@ -470,3 +470,102 @@ def failure_message_from_response(response: Dict[str,
Any]) -> Optional[str]:
f"with message {fail_details.get('Message')} and log file
{fail_details.get('LogFile')}"
)
return None
+
+
+class EmrStepsSensor(EmrBaseSensor):
Review Comment:
In my opinion, this Sensor should be able to replace `EmrStepSensor`. It
seems like this new sensor looks at all the steps and gets their statuses,
whereas the previous sensor needs the step ID of a particular step, and will
only check the state of the given step. I'd be interested in hearing other
people's thoughts on this
--
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]