Hi team... quick question. If a task calls a task,...
# flyte-support
l
Hi team... quick question. If a task calls a task, do they both not show up in the Flyte console? I only see the outer task
t
this isn’t really a supported pattern yet. we should support this though.
but yeah, even if/when we do, it will not show up
tasks are generally not allowed to call other tasks as tasks are supposed to be the atomic unit of work in flyte.
so if you want this kind of a pattern it’s best to use sub-workflows/dynamic tasks
l
will do.. thanks.. let me update my code in that case
it does appear to work though 🙂
t
oh good
yeah if it works then it’s just calling the function like a normal python function (i hope)
l
I believe so
t
again there’s no unit tests for this… but when we add them that’s what we’ll be shooting for
l
that was the intention anyways
thanks for the clarification
212 Views