hey all, quick question, is it possible to configure task output names for tasks with nout > 1 ?
k
Kevin Kho
07/29/2021, 5:29 PM
Hey, are you talking about results?
c
chicago-joe
07/29/2021, 6:22 PM
yes, task results that are passed into downstream tasks. Although we do not do any results caching / persistance at the moment
k
Kevin Kho
07/29/2021, 6:24 PM
A bit confused why you need to name it? You can just pass them right? If
nout=2
you can do
a,b = run_task()
to get both outputs?
c
chicago-joe
07/29/2021, 6:33 PM
it's more so that the schematic is easier to understand for other devs that might not have built the flow themselves.
See how Aggregate Data outputs AggregateData[1], AggregateData[2], etc?
Is there a way that we can give each of these a name for the schematic view? Like "dfStockData" and "dfOptionData" are the variable names in the code, but for the schematic we can't see that currently.
k
Kevin Kho
07/29/2021, 6:37 PM
I see what you mean! Unfortunately, I don’t think there’s a way to do this. I think they can only be coupled together.