hey all, quick question, is it possible to configu...
# ask-community
c
hey all, quick question, is it possible to configure task output names for tasks with nout > 1 ?
k
Hey, are you talking about results?
c
yes, task results that are passed into downstream tasks. Although we do not do any results caching / persistance at the moment
k
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
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
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.
c
no worries! This isn't a big deal