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

[KED-2932] Remove deprecated attributes and methods from KedroContext #1027

Merged
merged 7 commits into from
Nov 10, 2021

Conversation

merelcht
Copy link
Member

@merelcht merelcht commented Nov 9, 2021

Description

In order to release Kedro 0.18.0 all deprecated methods and attributes on KedroContext need to be removed.

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added a description of this change in the RELEASE.md file
  • Added tests to cover my changes

Notice

  • 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.

# Conflicts:
#	RELEASE.md
#	kedro/framework/context/context.py
#	tests/framework/context/test_context.py
@merelcht merelcht requested a review from idanov as a code owner November 9, 2021 17:22
@merelcht merelcht self-assigned this Nov 9, 2021
Copy link
Contributor

@lorenabalan lorenabalan left a 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! ❤️

docs/source/07_extend_kedro/04_plugins.md Show resolved Hide resolved
@@ -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
Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests/framework/session/test_session_registration_hooks.py Outdated Show resolved Hide resolved
Copy link
Contributor

@SajidAlamQB SajidAlamQB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 👍

Copy link
Contributor

@antonymilne antonymilne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So good!

RELEASE.md Outdated Show resolved Hide resolved
@merelcht merelcht merged commit 7c537f9 into develop Nov 10, 2021
@merelcht merelcht deleted the fix/cleanup-context branch November 10, 2021 12:08
Galileo-Galilei pushed a commit to Galileo-Galilei/kedro that referenced this pull request Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants