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

Not able to set on_failure_callback in default args #177

Open
madhavdube opened this issue Oct 6, 2023 · 0 comments
Open

Not able to set on_failure_callback in default args #177

madhavdube opened this issue Oct 6, 2023 · 0 comments

Comments

@madhavdube
Copy link

I am trying to set the default args as
default_args={'on_failure_callback': 'foo_function_str`}

the yaml config I am trying

dag_1:
   default_args:
       start_date: '1999-01-01'
       on_failure_callback: 'dags.utils.failures.send_alert' -- str representation of function
   

The other config I tried using on_failure_callback_file but this does not set the property in the default dict.

dag factory version - 0.8.0

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

1 participant