-
Notifications
You must be signed in to change notification settings - Fork 909
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 runner class name to pipeline hooks + introduce after_command_run
CLI hook spec
#1309
Conversation
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
…ook-specs Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Opted to provide the name of the runner class to avoid circular import, but the user value is identical |
Co-authored-by: Merel Theisen <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
…-specs Signed-off-by: datajoely <[email protected]>
…-specs Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
Signed-off-by: datajoely <[email protected]>
after_command_run
CLI hook spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Much cleaner than before 👍
I've got some minor comments and questions, but nothing to block merging.
Signed-off-by: datajoely <[email protected]>
…-specs Signed-off-by: datajoely <[email protected]>
…tumblacklabs/kedro into feature/add-more-hook-specs Signed-off-by: datajoely <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Happy the API surface doesn't increase by much. Probably should've been done in two separete PRs, but let's not slow down the merge further.
Description
This PR adds some functionality to 3 existing hooks and introduces one new CLI hook:
Modified hooks:
before_pipeline_run
after_pipeline_run
on_pipeline_error
The runner class name is now included within the
run_params
dictionary.New hooks:
after_command_run
(CLI hook)This has been requested several times over the last year or so the two usecases that come to mind are:
kedro-dvc
specifically asked to expose this so that they can install their own configuration oncekedro new
is executed.Checklist
RELEASE.md
file