We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
Passing a list of Parameter to a DAG or Steps inputs gives a mypy linting error:
Parameter
inputs
error: Argument "inputs" to "DAG" has incompatible type "list[hera.workflows.parameter.Parameter]"; expected "Inputs | hera.workflows.parameter.Parameter | hera.workflows.models.io.argoproj.workflow.v1alpha1.Parameter | hera.workflows.artifact.Artifact | hera.workflows.models.io.argoproj.workflow.v1alpha1.Artifact | dict[str, Any] | list[hera.workflows.parameter.Parameter | hera.workflows.models.io.argoproj.workflow.v1alpha1.Parameter | hera.workflows.artifact.Artifact | hera.workflows.models.io.argoproj.workflow.v1alpha1.Artifact | dict[str, Any]] | None" [arg-type]
To Reproduce Full Hera code to reproduce the bug:
from hera.workflows import Workflow my_inputs = [Parameter(name="a-param")] with Workflow(name="my-workflow") as w: with DAG(name="dag", inputs=my_inputs): pass
Expected behavior A clear and concise description of what you expected to happen: Linting to pass
Environment
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
Passing a list of
Parameter
to a DAG or Stepsinputs
gives a mypy linting error:To Reproduce
Full Hera code to reproduce the bug:
Expected behavior
A clear and concise description of what you expected to happen:
Linting to pass
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: