-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
note:ideal-for-contributionAn issue that a contributor can help us withAn issue that a contributor can help us withtype:enhancementA general enhancementA general enhancement
Description
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_versionandkindin theWorkflowparams - Split long parameter value strings
- Generate arguments in dict format
- Sort Python arguments using the same algorithm as YAML keys (
namefirst, then basic types, then lists/dicts) - Generate script-decorated functions for
scripttemplates using a Python image/command
Completed:
UpdateCompleted in Format Python code output from Hera CLI using black #1465invocatorcontext name to usesteps/dag/container_setSkip trailing comma to allow formatter to decide whether to collapse list of args into one lineCompleted in Format Python code output from Hera CLI using black #1465
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
note:ideal-for-contributionAn issue that a contributor can help us withAn issue that a contributor can help us withtype:enhancementA general enhancementA general enhancement