Open redartera opened 1 year ago
Hello 👋, this issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will engage on it to decide if it is still applicable. Thank you for your contribution and understanding! 🙏
For anyone else - a workaround is to pass in:
inputs = {"input_enum": Literal(scalar=Scalar(primitive=Primitive(string_value=MyEnum.FOO.value)))}
Describe the bug
Flytekit throws an error when attempting to execute a remote workflow that takes an enum as an input
Error for a workflow that takes
input_enum
as an enum:This is similar to https://github.com/flyteorg/flyte/issues/2278 though the error message is different
Expected behavior
Workflow should execute
Additional context to reproduce
Here is a script to reproduce the bug against the sandbox
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?