Hi all, is there a way to support the nested List ...
# flyte-support
h
Hi all, is there a way to support the nested List in a task? For example:
Copy code
@dataclass_json
@dataclass
class InnerDataClass:
    inner_name: str


@dataclass_json
@dataclass
class DataClassTest:
    name: str
    value: str
    inner: List[InnerDataClass]

@task
def create_sweep(
...
    test_list: List[DataClassTest],
...
) -> SweepInputs:
I will get error when launching this workflow:
Copy code
ValueError: Only generic univariate typing.List[T] type is supported.
Hmmmm... I tried to delete dataclass and dataclass_json and it succeed!
👍🏽 1