https://prefect.io logo
Title
a

Aiden Price

10/09/2019, 9:45 AM
Is there something I can do instead of
merge
, perhaps my own task to determine which of a variadic number of results I want to pass on?
c

Chris White

10/09/2019, 5:14 PM
Hey Aiden, great catch! I will fix this ASAP. In the meantime, you’re welcome to check out the underlying source code for
merge
(which is surprisingly little code) and write your own custom version: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/tasks/control_flow/conditional.py#L144
a

Aiden Price

10/09/2019, 9:57 PM
Wow, quick and good quality work there, thank you. Also that’s a hilarious error message in the test result.
c

Chris White

10/09/2019, 9:58 PM
Haha thank you very much