-
Notifications
You must be signed in to change notification settings - Fork 906
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
[KED-2932] Remove deprecated attributes and methods from KedroContext
#1027
Conversation
Fix tests & linting
# Conflicts: # RELEASE.md # kedro/framework/context/context.py # tests/framework/context/test_context.py
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.
I love these PRs! 🧹 ✨ 466 lines deleted! ❤️
@@ -103,9 +103,7 @@ The `context` variable allows you to interact with Kedro library components from | |||
With `context`, you can access the following variables and methods: | |||
|
|||
- `context.project_path` (`Path`) - Root directory of the project |
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.
Remind me what do we use project_path
for? I remember we couldn't deprecate it because it was one of those annoying warnings you can't do anything about. Is it used in sth to do with the catalog?
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.
Yes it's used for creating the catalog as well as getting the catalog from the context.
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.
Awesome! 👍
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.
So good!
Description
In order to release Kedro
0.18.0
all deprecated methods and attributes onKedroContext
need to be removed.Checklist
RELEASE.md
fileNotice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":
I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.