Skip to content

Cannot pass a list as a parameter to a step #3402

Open
@Mathis-Z

Description

@Mathis-Z

I would like to run some jobs that return a string each. Then I want to pass these as a list to another step. This does not work though because the list is reportedly not JSON-serializable. The problem is that validate_input in zenml.steps.entrypoint_function_utils exits early if the passed parameter is a StepArtifact but when a list of StepArtifact is passed, the function does not exit early.
The same goes for other collections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions