Open elliotgunton opened 2 months ago
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. This bug occurs in Hera when...
Describe the bug A clear and concise description of what the bug is:
TODO - basically using w.arguments = {"param_name": "value"} before doing w.create() doesn't get the argument correctly because we don't check if self.arguments is itself a dict here https://github.com/argoproj-labs/hera/blob/523a9b91d5af34a6f797907d5d02ac4a89240d6a/src/hera/workflows/_mixins.py#L562
w.arguments = {"param_name": "value"}
w.create()
self.arguments
Error log if applicable:
error: something broke!
To Reproduce Full Hera code to reproduce the bug:
from hera.workflows import Workflow with Workflow(name="my-workflow") as w: # Add your code here
Expected behavior A clear and concise description of what you expected to happen:
Environment
Additional context Add any other context about the problem here.
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. This bug occurs in Hera when...
Bug report
Describe the bug A clear and concise description of what the bug is:
TODO - basically using
w.arguments = {"param_name": "value"}
before doingw.create()
doesn't get the argument correctly because we don't check ifself.arguments
is itself a dict here https://github.com/argoproj-labs/hera/blob/523a9b91d5af34a6f797907d5d02ac4a89240d6a/src/hera/workflows/_mixins.py#L562Error log if applicable:
To Reproduce Full Hera code to reproduce the bug:
Expected behavior A clear and concise description of what you expected to happen:
Environment
Additional context Add any other context about the problem here.