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 PMJay Ganbat
06/22/2023, 10:14 PMKevin Su
06/22/2023, 10:40 PMJay Ganbat
06/22/2023, 10:41 PMJay Ganbat
06/22/2023, 10:42 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
Jay Ganbat
06/23/2023, 4:26 PMKevin Su
06/23/2023, 6:17 PMKevin Su
06/23/2023, 6:18 PMKevin Su
06/23/2023, 6:22 PMJay Ganbat
06/23/2023, 6:23 PMJay Ganbat
06/23/2023, 6:24 PMKevin Su
06/23/2023, 6:36 PMKevin Su
06/23/2023, 6:36 PMKevin Su
06/23/2023, 6:37 PMJay Ganbat
06/26/2023, 4:26 PMDan Rammer (hamersaw)
06/26/2023, 4:27 PMJay Ganbat
06/26/2023, 4:29 PMJay Ganbat
06/26/2023, 5:42 PM