Reputation: 19
I have 3 S3KeySensors on different files in different folders. 2 of them have to be successful and the third one can be skipped.I am trying to trigger the downstream task with the trigger_rule='none_failed' but S3KeySensor doesnot seem to respect that. This is how my DAG looks like.
This is how i want it to behave:
Upvotes: 1
Views: 309
Reputation: 1096
You have to set trigger_rule="none_failed_or_skipped"
to test_step
task as explained in this documentation.
From the documentation:
none_failed_or_skipped
: all parents have not failed (failed or upstream_failed) and at least one parent has succeeded.
Upvotes: 1