argibbs commented on code in PR #30080:
URL: https://github.com/apache/airflow/pull/30080#discussion_r1135324012
##########
airflow/sensors/bash.py:
##########
@@ -40,6 +41,12 @@ class BashSensor(BaseSensorOperator):
of inheriting the current process environment, which is the default
behavior. (templated)
:param output_encoding: output encoding of bash command.
+ :param retry_exit_code: If task exits with this code, treat the sensor
+ as not-yet-complete and retry the check later according to the
+ usual retry/timeout settings. Any other return code will be
+ treated as an error, and cause the sensor to file. If set to
+ ``None`` (the default), any non-zero exit code will cause a retry
+ and the task will never raise an error except on time-out.
Review Comment:
Classic case of "know what I mean, not what I've typed." Sorry about that.
Fixed.
--
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]