cuddly-jelly-27016
05/06/2025, 9:25 PMTrace:
Traceback (most recent call last):
File "xxx/flytekit/core/base_task.py", line 741, in dispatch_execute
native_inputs = self._literal_map_to_python_input(input_literal_map, exec_ctx)
File "xxx/flytekit/core/base_task.py", line 610, in _literal_map_to_python_input
return TypeEngine.literal_map_to_kwargs(ctx, literal_map, self.python_interface.inputs)
File "xxx/flytekit/core/utils.py", line 312, in wrapper
return func(*args, **kwargs)
File "xxx/flytekit/core/type_engine.py", line 1464, in literal_map_to_kwargs
return synced(ctx, lm, python_types, literal_types)
File "xxx/flytekit/utils/asyn.py", line 100, in wrapped
return self.run_sync(coro_func, *args, **kwargs)
File "xxx/flytekit/utils/asyn.py", line 93, in run_sync
return self._runner_map[name].run(coro)
File "xxx/flytekit/utils/asyn.py", line 72, in run
res = fut.result(None)
File "xxx/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "xxx/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "xxx/flytekit/core/type_engine.py", line 1500, in _literal_map_to_kwargs
TypeEngine.async_to_python_value(ctx, lm.literals[k], python_interface_inputs[k])
KeyError: 'dn0.o0'
Message:
KeyError: 'dn0.o0'
[Image](https://private-user-images.githubusercontent.com/1274471/440975339-3fe9245a-76f3-4021-99b7-1fc0c226be90.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDg2NTQ2OTQsIm5iZiI6MTc0ODY1NDM5NCwicGF0aCI6Ii8xMjc0NDcxLzQ0MDk3NTMzOS0zZmU5MjQ1YS03NmYzLTQwMjEtOTliNy0xZmMwYzIyNmJlOTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDUzMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA1MzFUMDExOTU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODgzYjc3NmQ3NjljZGE5OWNlYmUyZDEyZWM2NTU4M2Q5ODMzNTA2MDU1ZmRmY2E1OTAxNGFjZDk2MjFiYWM2ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ezWLO6L5XxSW0zK9GuoLtFfhYAukTGAVu-ZHki12d4I)
It seems that it cannot find keys that it expects in the input literal map. The inputs are clearly visible in the Flyte UI though so I wonder if this is some sort of race condition or storage issue. Anyway, I figured I would report it.
### Expected behavior
We expect conditional nodes not to fail in the flytekit layer.
### Additional context to reproduce
No response
### Screenshots
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/31/2025, 1:19 AM