Laura Lin
10/06/2023, 4:54 AMError 0: Code: ParameterNotBound, Node Id: end-node, Description: Parameter not bound [o0].
Error 1: Code: ValueRequired, Node Id: n0, Description: Value required [Target].
Error 2: Code: VariableNameNotFound, Node Id: n0, Description: Variable [o0] not found on node [n0].
When I try to use the experimental map_nodes on 1.9.1, I get the following errors. this is with
from typing import List
from flytekit import task, workflow
from flytekit.experimental import map_task
@task
def t(a: int) -> int:
return a + 1
@workflow
def experimental_map_task(xs: List[int]) -> List[int]:
return map_task(t)(a=xs)
Samhita Alla
Laura Lin
10/06/2023, 4:08 PMDan Rammer (hamersaw)
10/06/2023, 5:54 PMLaura Lin
10/06/2023, 5:55 PM@task
def t(a: int) -> int:
return a + 1
@dynamic
def t_wrapper(xs: List[int]) -> None:
map_task(t)(a=xs)
@workflow
def experimental_map_task(xs: List[int]) -> None:
t_wrapper(xs=xs)
Dan Rammer (hamersaw)
10/16/2023, 2:58 PM./bin/flytectl demo start
and then use your flytekit to execute the ArrayNode. Are there any issues here?Laura Lin
10/16/2023, 7:14 PMDan Rammer (hamersaw)
10/16/2023, 7:33 PMpyflyte run ...
, or pyflyte register ...
, or flytectl register ...
?Laura Lin
10/16/2023, 7:33 PMflytectl register
Ketan (kumare3)
Dan Rammer (hamersaw)
10/17/2023, 3:22 PMHmm flytectl register may not handle the new node typeIt does and the error would be different - something about hydrating a nil nodespec.
Ketan (kumare3)
Dan Rammer (hamersaw)
10/17/2023, 8:23 PMLaura Lin
10/17/2023, 8:25 PMKetan (kumare3)