Xin Shi
03/17/2023, 7:41 PMKevin Su
03/17/2023, 8:23 PMXin Shi
03/17/2023, 8:33 PMKevin Su
03/17/2023, 8:37 PMXin Shi
03/17/2023, 8:37 PMKevin Su
03/17/2023, 8:39 PMXin Shi
03/17/2023, 8:41 PMKevin Su
03/17/2023, 8:46 PMfrom flytekit import workflow, task
class MyClass:
@task
def t1(self):
return 'hello world'
@workflow
def wf():
MyClass().t1()
Xin Shi
03/17/2023, 8:49 PMfrom flytekit import workflow, task
class MyClass:
@task
def t1(self):
return 'hello world'
@task
def t2(self):
return 'hello world too'
@workflow
def wf():
MyClass().t1()
MyClass().t2()
Kevin Su
03/17/2023, 8:53 PMSlackbot
03/17/2023, 8:53 PMXin Shi
03/17/2023, 9:10 PMKevin Su
03/17/2023, 9:12 PM