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

Adding a new after_context_created hook into Kedro's hooks collection #1458

Closed
4 tasks
Tracked by #1441
noklam opened this issue Apr 20, 2022 · 1 comment · Fixed by #1480
Closed
4 tasks
Tracked by #1441

Adding a new after_context_created hook into Kedro's hooks collection #1458

noklam opened this issue Apr 20, 2022 · 1 comment · Fixed by #1480
Assignees
Labels
Component: Framework Issue/PR that addresses core framework functionality

Comments

@noklam
Copy link
Contributor

noklam commented Apr 20, 2022

Description

Related: #506
Prerequisite of: #1431
The new hook after_context_created will be the solution for #506, by exposing the context, it will provide a public API for developers to access catalog, config_loader, credentials etc. The KedroContext will gradually become a container while the KedroSession controls the lifecycle of Kedro's run

todo:

  • Create new after_context_created hook
  • Update Runners
  • Update corresponding tests
  • Add the lifecycle hooks chart to illustrate the order of hook being executed (seems datasets specs is missing from test previously)
@noklam
Copy link
Contributor Author

noklam commented Apr 21, 2022

@Raalsky @takikadiri Tagging you here since it may be a new useful hook for your plugins. Let us know if you are happy with the change.

@merelcht merelcht moved this to Todo in Kedro Framework Apr 25, 2022
@noklam noklam moved this from Todo to In Progress in Kedro Framework Apr 25, 2022
@noklam noklam added the Component: Framework Issue/PR that addresses core framework functionality label Apr 25, 2022
@noklam noklam linked a pull request Apr 25, 2022 that will close this issue
5 tasks
@noklam noklam self-assigned this Apr 25, 2022
@noklam noklam moved this from In Progress to In Review in Kedro Framework Apr 26, 2022
Repository owner moved this from In Review to Done in Kedro Framework May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Framework Issue/PR that addresses core framework functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant