Skip to content

Commit

Permalink
Fix format/lint
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Gunton <[email protected]>
  • Loading branch information
elliotgunton committed Jan 10, 2025
1 parent 17d0c2f commit 2ae275e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hera/workflows/_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
Artifact as ModelArtifact,
ArtifactLocation,
ContainerPort,
ContainerResizePolicy,
ContinueOn,
EnvFromSource,
EnvVar,
Expand Down Expand Up @@ -64,7 +65,6 @@
VolumeDevice,
VolumeMount,
)
from hera.workflows.models import ContainerResizePolicy
from hera.workflows.parameter import Parameter
from hera.workflows.protocol import Templatable
from hera.workflows.resources import Resources
Expand Down
2 changes: 1 addition & 1 deletion src/hera/workflows/cron_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class CronWorkflow(Workflow):
starting_deadline_seconds: Annotated[Optional[int], _CronWorkflowModelMapper("spec.starting_deadline_seconds")] = (
None
)
stop_strategy: Annotated[Optional[StopStrategy], _CronWorkflowModelMapper("spec.stop_strategy")]
stop_strategy: Annotated[Optional[StopStrategy], _CronWorkflowModelMapper("spec.stop_strategy")] = None
successful_jobs_history_limit: Annotated[
Optional[int], _CronWorkflowModelMapper("spec.successful_jobs_history_limit")
] = None
Expand Down

0 comments on commit 2ae275e

Please sign in to comment.