boundless-pillow-61274
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()
magnificent-teacher-86590
10/18/2023, 3:44 PMaverage-finland-92144
10/19/2023, 3:45 PMhello
are printed