cuddly-jelly-27016
05/14/2025, 12:13 AMFile "/Users/nielsbantilan/git/flytekit/flytekit/core/type_engine.py", line 185, in to_python_value
raise TypeTransformerFailedError(f"Cannot convert literal {lv} to {self._type}")
flytekit.core.type_engine.TypeTransformerFailedError: Cannot convert literal scalar {
primitive {
integer: 6
}
}
to <class 'str'>
### Goal: What should the final outcome look like, ideally?
When there's a type mismatch error, identify where exactly in the workflow it's happening:
• the task where the conversion failed
• the input that fails conversion
### Describe alternatives you've considered
NA
### Propose: Link/Inline OR Additional context
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/14/2025, 12:13 AM