Skip to content

Separate template definition from run_x functions #224

@moshewe

Description

@moshewe

Summary

I was trying to implement a simple map-reduce workflow, e.g. this.
Digging through the code I've found that currently couler copies over step args into template inputs, basically fusing them together and making use of withParam as per the linked example impossible.

I suggest separating template creation and run_x functions such that these function will know how to handle a given template or create one on the fly as is done today.

Use Cases

Any workflow that requires a template to define its arguments independent of step.

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions