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

Allow filtering on specific steps so that when using as a service we can trigger specific steps independently #244

Open
ocervell opened this issue Sep 13, 2022 · 1 comment

Comments

@ocervell
Copy link
Collaborator

ocervell commented Sep 13, 2022

for step in error_budget_policy['steps']:

def compute(..., filter_steps=[]):
...
    steps = error_budget_policy['steps']
    if filter_steps: # filter on input step names
        steps= [step for step in steps if step['name'] in filter_steps]
@bkamin29
Copy link

A usage could be configure a specific frequency for each steps ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants