F

Flyte enables you to build & deploy data & ML pipelines, hassle-free. The infinitely scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks. Explore and Join the Flyte Community!

Error with ListTransformer in Workflow

Summary

The user is facing an error when using the ListTransformer with a list of DataClasses in a task involving an Agent. They are unsure if the ListTransformer can be modified to handle this situation or if a specific TypeTransformer for list[Foo] is necessary. They mention that lists of DataClasses work fine as workflow arguments in subworkflows. The user provides code snippets for context and expresses confusion about the source of the error, initially thinking it was related to the task but later realizing it occurs earlier in the process. They seek input from others for clarification.

Status
open
Tags
  • Error
  • Workflow Issue
  • flyte
  • DataClasses
  • TypeTransformer
  • Question
  • Workflow Error
  • Developer Help
  • ListTransformer
  • Bug Report
Source
#ask-the-community
    y

    ytong

    11/4/2024

    thank you for the bug report :bow:

    y

    ytong

    11/4/2024

    will be in 14 and probably backported to 13.x

    y

    ytong

    11/4/2024

    if you try to register that against admin it will raise an error.

    y

    ytong

    11/4/2024

    and lastly you are passing an optional list to a list, that’s not allowed.

    y

    ytong

    11/4/2024

    but yeah the name of the output was wrong, i see you fixed that.

    y

    ytong

    11/4/2024

    and there’s one bug with the typing not getting passed.

    y

    ytong

    11/4/2024

    kevin will clean up some of the error handling here.

    y

    ytong

    11/4/2024

    looking

    y

    ytong

    11/2/2024

    this works without issue for me. what version of flytekit are you on?

    y

    ytong

    11/2/2024

    this should definitely work.