Jay Ganbat
06/09/2023, 5:46 PMKevin Su
06/09/2023, 5:53 PMJay Ganbat
06/09/2023, 5:54 PMKevin Su
06/11/2023, 8:47 PMJay Ganbat
06/22/2023, 10:08 PMKevin Su
06/22/2023, 10:40 PMJay Ganbat
06/22/2023, 10:41 PMfrom __future__ import absolute_import, division, print_function
from typing import Optional
from flytekit import task, workflow, dynamic
from flytekit.types.file import FlyteFile
@task
def hello(myfile: Optional[FlyteFile]) -> Optional[FlyteFile]:
return None
@dynamic
def dyn_hello(myfile: Optional[FlyteFile]) -> Optional[FlyteFile]:
return hello(myfile=myfile)
@workflow
def child_workflow(myfile: Optional[FlyteFile]) -> Optional[FlyteFile]:
hello_output = dyn_hello(myfile=myfile)
return hello_output
Kevin Su
06/23/2023, 6:17 PMJay Ganbat
06/23/2023, 6:23 PMKevin Su
06/23/2023, 6:36 PMJay Ganbat
06/26/2023, 4:26 PMDan Rammer (hamersaw)
06/26/2023, 4:27 PMJay Ganbat
06/26/2023, 4:29 PM