Skip to content

YAML-to-Python code generator improvements #1446

@elliotgunton

Description

@elliotgunton

The "v1" of the YAML-to-Python generator is due to be released. It is a bit rough around the edges in terms of generating Pythonic code, so this is a list of potential issues described in #1444, roughly listed in low-to-high effort order:

  • Skip api_version and kind in the Workflow params
  • Split long parameter value strings
  • Generate arguments in dict format
  • Sort Python arguments using the same algorithm as YAML keys (name first, then basic types, then lists/dicts)
  • Generate script-decorated functions for script templates using a Python image/command

Completed:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions