Hi Prefect(ers?),
I stumbled across a piece of documentation I needed last week but I can't seem to locate now. I have a task that returns a tuple, from which I only want to pass in the first item to the task that consumes it.
I recall seeing some way of telling prefect how many results to expect. Can someone point me in the right direction?
e.g.
Copy code
with Flow('...') as f:
t = task(some_func) # <-- returns tuple
c = task(consume_func, keyword_tasks={'config': t[0]})
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.