https://flyte.org logo
#ask-the-community
Title
# ask-the-community
r

Rupsha Chaudhuri

06/27/2022, 4:41 PM
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
y

Yee

06/27/2022, 5:08 PM
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
r

Rupsha Chaudhuri

06/27/2022, 5:09 PM
will do.. thanks.. let me update my code in that case
it does appear to work though 🙂
y

Yee

06/27/2022, 5:10 PM
oh good
yeah if it works then it’s just calling the function like a normal python function (i hope)
r

Rupsha Chaudhuri

06/27/2022, 5:11 PM
I believe so
y

Yee

06/27/2022, 5:11 PM
again there’s no unit tests for this… but when we add them that’s what we’ll be shooting for
r

Rupsha Chaudhuri

06/27/2022, 5:11 PM
that was the intention anyways
thanks for the clarification