Wu Da-Yi
10/18/2023, 9:47 AMpython test.py
and pyflyte run test.py my_wf
give me different output.
1. python: print "hello" for 4 times --> why??
2. pyflyte: work normally. print one time hello and output "b"
Can anyone have a very brief explain on this?
from flytekit import task ,workflow#, task, dynamic, LaunchPlan, ExecutionParameters
print ("hello")
@task
def task_b():
print ("b")
@workflow
def my_wf():
t2 = task_b()
Jay Ganbat
10/18/2023, 3:44 PMDavid Espejo (he/him)
10/19/2023, 3:45 PMhello
are printed