Skip to content

question about Complex depends condition in Hera #541

Answered by flaviuvadan
sparkstar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sparkstar! Thank you for the question! Any chance you checked out the Hera expr module? It's supposed to help create these complex expressions. Once you have an expression, you can modify the Task.depends field manually. Hera cannot capture the enormous complexity of the depends field via pure functions so we went with an expr module that allows expressing this complexity, plus made the depends field a public attribute so the condition can be set! Does this help?

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by samj1912
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Elena-GHub
Comment options

@flaviuvadan
Comment options

@Elena-GHub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type:question A user question
3 participants
Converted from issue

This discussion was converted from issue #424 on April 01, 2023 09:37.