#3785 [BUG] Cannot kickoff executions for workflows containing parameter of type `List[Optional[X]]`
Issue created by
eapolinario
Describe the bug
The launchform does not allow for parameters of type
List[Optional[X]]
to be specified, regardless of what type
X
is.
For example:
import typing
from flytekit import task, workflow
@task
def t():
pass
@workflow
def wf(ints: typing.List[typing.Optional[int]]):
t()
Kicking off an execution via flyteconsole's launch form results in:
Screenshot 2023-06-15 at 11 04 50 AM▾
Expected behavior
We should be able to kickoff an execution for these workflows/tasks.
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/flyte