https://prefect.io logo
r

Rob Fowler

09/29/2020, 12:24 PM
worked out a way around it, I made my initial discovery task catch all errors and simply made a return item that indicated the exception, then, in the following filter I removed those items.
n

nicholas

09/29/2020, 1:26 PM
Hi @Rob Fowler - it sounds like a
some_successful
task trigger would work here, set to
at_least=0
: https://docs.prefect.io/api/latest/triggers.html#functions
r

Rob Fowler

09/29/2020, 10:10 PM
But the main issues was I didn't want to decorate the task because when I use the same task later I wanted it to have failures. Making it catch the failures and filter them out seems the correct model now I used it that way.
n

nicholas

09/30/2020, 12:43 PM
Ah I see @Rob Fowler, thanks for the update!