You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, on_render, on_finish and on_failure hooks can only be set at the task level. making impossible to set the same hook for many tasks at once.
One use case for this is static analysis, an on_render hook could be set for all NotebookRunner tasks to do static analysis in the source code to detect potential issues before executing.
Also take into account that tasks can be executed via an executor or directly using task.build, should dag-level hooks be executed when using task.build?
Currently,
on_render
,on_finish
andon_failure
hooks can only be set at the task level. making impossible to set the same hook for many tasks at once.One use case for this is static analysis, an
on_render
hook could be set for allNotebookRunner
tasks to do static analysis in the source code to detect potential issues before executing.Potential API (similar to how dag.clients work):
The text was updated successfully, but these errors were encountered: