cuddly-jelly-27016
05/31/2025, 12:09 AMTypeTransformerFailedError: Type of Val '<enum 'B'>' is not an instance of <class 'str'>
If the enum is not inside a dataclass, but an argument to the task itself, the bug does not occur.
### Expected behavior
The execution should be successfully created.
If instead I submit via the CLI
pyflyte run -p PROJECT -d DOMAIN remote-task flyte_test_task --a '{"b": "x"}'
The execution is created as expected.
### Additional context to reproduce
Using flytekit version 1.14.3
### 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, 12:09 AM