BasPH commented on issue #8244: Add Option for BashOperator to Set State to 
SKIPPED
URL: https://github.com/apache/airflow/pull/8244#issuecomment-612891837
 
 
   I can imagine this to be useful in certain conditions, but too specific as 
it is right now. To make it useful for all Airflow operators, could you:
   
   - Move this functionality to the BaseOperator, so that it's available for 
all operators?
   - Rename the argument to `skip_on_exit_codes`, and make it to also accept a 
list of ints?
   - Add a 2nd argument `success_on_exit_codes`, that works the same as 
`skip_on_exit_codes`, but set the state to `State.SUCCESS`?

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


With regards,
Apache Git Services

Reply via email to