Skip to content
New issue

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add on failure parameter to imperative workflow #5913

Open
2 tasks done
berriperri opened this issue Oct 24, 2024 · 2 comments
Open
2 tasks done

add on failure parameter to imperative workflow #5913

berriperri opened this issue Oct 24, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request hacktoberfest untriaged This issues has not yet been looked at by the Maintainers

Comments

@berriperri
Copy link

Motivation: Why do you think this is important?

this functionality is in the base class and I don't see why not to expose it to imperative workflows

Goal: What should the final outcome look like, ideally?

class ImperativeWorkflow(WorkflowBase):
  def __init__(
          self,
          name: str,
          failure_policy: Optional[WorkflowFailurePolicy] = None,
          interruptible: bool = False,
          on_failure: Optional[Union[WorkflowBase, Task]] = None,
      ):

Describe alternatives you've considered

no alternatives

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@berriperri berriperri added enhancement New feature or request untriaged This issues has not yet been looked at by the Maintainers labels Oct 24, 2024
Copy link

welcome bot commented Oct 24, 2024

Thank you for opening your first issue here! 🛠

@400Ping
Copy link

400Ping commented Oct 24, 2024

#take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest untriaged This issues has not yet been looked at by the Maintainers
Projects
Status: Backlog
Development

No branches or pull requests

3 participants