New dag/steps decorators generate incorrect valueFrom and lose output descriptions #1218
Open
3 of 7 tasks
Labels
type:bug
A general bug
Milestone
Pre-bug-report checklist
1. This bug can be reproduced using pure Argo YAML
If yes, it is more likely to be an Argo bug unrelated to Hera. Please double check before submitting an issue to Hera.
2. I have searched for existing issues
3. This bug occurs in Hera when...
Bug report
Describe the bug
description
is being dropped fromParameter
annotations onOutput
types when using@wt.steps
decorator and similar.To Reproduce
Full Hera code to reproduce the bug:
Expected behavior
The following YAML for the step output:
What I'm actually seeing is:
Environment
Additional context
I believe the name is being mistakenly set to
None
here:hera/src/hera/workflows/_mixins.py
Line 744 in d75a1b3
And the description is being discarded here:
hera/src/hera/workflows/io/_io_mixins.py
Line 229 in d75a1b3
The text was updated successfully, but these errors were encountered: