Hello!, I would like to programatically/imperativ...
# ask-the-community
s
Hello!, I would like to programatically/imperatively create workflows with flytekit. I see in the the docs its possible to do this. I was able to successfully implement & run the example (the uploaded screen shot). I would like to extend this example:
node = wb.add_entity(t1, a=wb.inputs ["in1"])
and take the outputs of
t1
and connect it to the inputs of a similar task as
t1
. Meaning take the string output of
t1
and feed it as a string input another similar task lets call it
t1_b
. Assuming this is possible can someone please share the syntax for this. Thanks! edit: Maybe a simpler way to phase the question: How do I take the output of T1 and feed it to T2 (if T2 had an input)
s
Assuming
node
is t1's output, you could say,
node.outputs["o0"]
in t2.
s
I just tested it and it works perfectly! Thanks!