Derek Heyman
06/08/2022, 8:10 PMUnexpected error: KeyError(0)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/prefect/engine/runner.py", line 48, in inner
new_state = method(self, state, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/prefect/engine/flow_runner.py", line 569, in get_flow_run_state
executors.prepare_upstream_states_for_mapping(
File "/usr/local/lib/python3.8/site-packages/prefect/utilities/executors.py", line 681, in prepare_upstream_states_for_mapping
value = upstream_state.result[i]
KeyError: 0
Kevin Kho
Derek Heyman
06/08/2022, 8:20 PMKevin Kho
if
in the Flow block will likely not workDerek Heyman
06/09/2022, 2:49 AMKevin Kho
Derek Heyman
06/09/2022, 2:06 PMKevin Kho
A.map(input1, input2)
B.map(A, other_input)
C.map(B, other_input2)
Are all of the inputs the same length?Derek Heyman
06/09/2022, 9:35 PMKevin Kho
other_input2
is a list with 2 items and B is a list of 3 items for C
, you can run into problems. Does that make sense?Derek Heyman
06/10/2022, 2:42 AMKevin Kho