magnificent-teacher-86590
06/09/2023, 5:46 PMglamorous-carpet-83516
06/09/2023, 5:53 PMmagnificent-teacher-86590
06/09/2023, 5:54 PMglamorous-carpet-83516
06/11/2023, 8:47 PMmagnificent-teacher-86590
06/22/2023, 10:08 PMmagnificent-teacher-86590
06/22/2023, 10:14 PMglamorous-carpet-83516
06/22/2023, 10:40 PMmagnificent-teacher-86590
06/22/2023, 10:41 PMmagnificent-teacher-86590
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
magnificent-teacher-86590
06/23/2023, 4:26 PMglamorous-carpet-83516
06/23/2023, 6:17 PMglamorous-carpet-83516
06/23/2023, 6:18 PMglamorous-carpet-83516
06/23/2023, 6:22 PMmagnificent-teacher-86590
06/23/2023, 6:23 PMmagnificent-teacher-86590
06/23/2023, 6:24 PMglamorous-carpet-83516
06/23/2023, 6:36 PMglamorous-carpet-83516
06/23/2023, 6:36 PMglamorous-carpet-83516
06/23/2023, 6:37 PMmagnificent-teacher-86590
06/26/2023, 4:26 PMhallowed-mouse-14616
06/26/2023, 4:27 PMmagnificent-teacher-86590
06/26/2023, 4:29 PMmagnificent-teacher-86590
06/26/2023, 5:42 PM