-
Notifications
You must be signed in to change notification settings - Fork 34
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 auto-registration for plugin hooks #29
Comments
In the current version (
I feel that auto-registration would be much beter than messing up wih the project template because:
As a consequence auto-registration would made maintenance much easier, increase compatibility with different kedro versions and improve user experience. I wish we integrate it. However:
|
We've used automatic hook discovery feature in our (currently) inner source kedro-pandera plugin and it works well, although there's a bug that breaks kedro-viz which I submitted today so we should wait until it's resolved. When it's fixed we should definitely pursue automatic hook discovery route as it simplifies plugin setup massively. In terms of retrocompatibility, I think that kedro-mlflow is at such an early stage at this point that I don't think it's needed. In my opinion, we should pin kedro version to the minimum required in 0.3.0 and make it clear in CHANGELOG that new version requires some migration activities for current users. As for the |
Thanks for the information regarding the kedro-viz bug, we'll wait until it is resolved. Agreed with everything, I start separated PR. |
…Galilei#30 Galileo-Galilei#31 Galileo-Galilei#72 Galileo-Galilei#29 Galileo-Galilei#62 - context access - kedro 16.5 - hook auto registration
kedro-org/kedro-viz#260 is now fixed, We can add this in the release. |
This is a new feature discussed in kedro-org/kedro#435 and recently added to master through kedro-org/kedro@49834dd.
This seems to be a better way to register the basic hooks to avoid messing up with the template. Some design decisions should be made:
The text was updated successfully, but these errors were encountered: