You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug A clear and concise description of what the bug is:
Error log if applicable:
File "/app/main.py", line 121, in cron
cron_workflow.create()
~~~~~~~~~~~~~~~~~~~~^^
File "/app/.venv/lib/python3.13/site-packages/hera/workflows/cron_workflow.py", line 99, in create
wf = self.workflows_service.create_cron_workflow(
CreateCronWorkflowRequest(cron_workflow=self.build()), # type: ignore
namespace=self.namespace,
)
File "/app/.venv/lib/python3.13/site-packages/hera/workflows/service.py", line 509, in create_cron_workflow
return CronWorkflow(**resp.json())
File "/app/.venv/lib/python3.13/site-packages/pydantic/v1/main.py", line 341, in __init__
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 3 validation errors for CronWorkflow
status -> failed
field required (type=value_error.missing)
status -> phase
field required (type=value_error.missing)
status -> succeeded
field required (type=value_error.missing)
To Reproduce
Install Argo Workflows < 3.6
Install hera==5.19
Try to create a CronWorkflow using the create method, with a valid WorkflowsService
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
A clear and concise description of what the bug is:
Error log if applicable:
To Reproduce
hera==5.19
CronWorkflow
using thecreate
method, with a validWorkflowsService
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.
Seen in https://cloud-native.slack.com/archives/C03NRMD9KPY/p1739305360122419
The text was updated successfully, but these errors were encountered: