Skip to content

chore(datasets): Path related term #1375

Merged
ElenaKhaustova merged 14 commits intokedro-org:mainfrom
datascienceio:1
Apr 21, 2026
Merged

chore(datasets): Path related term #1375
ElenaKhaustova merged 14 commits intokedro-org:mainfrom
datascienceio:1

Conversation

@datascienceio
Copy link
Copy Markdown
Contributor

@datascienceio datascienceio commented Apr 7, 2026

Description

Completed Plotly subtask for #1316 and #1317

Development notes

Directly evaluate Path rather than string , hence posix-related term was deleted.

Developer Certificate of Origin

We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a Signed-off-by line in the commit message. See our wiki for guidance.

If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.

Checklist

  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Updated jsonschema/kedro-catalog-X.XX.json if necessary
  • Added a description of this change in the relevant RELEASE.md file
  • Added tests to cover my changes
  • Received approvals from at least half of the TSC (required for adding a new, non-experimental dataset)

@ankatiyar ankatiyar changed the title Path related term chore(datasets): Path related term Apr 7, 2026
@merelcht merelcht requested review from SajidAlamQB and lrcouto April 7, 2026 13:39
Copy link
Copy Markdown
Contributor

@ElenaKhaustova ElenaKhaustova left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution, @datascienceio! The type annotation and test fixture changes look correct. A couple of things to fix before we can merge:

  1. Import formatting — blank line after from __future__ import annotations is removed in all 3 source files; it needs to be preserved.
  2. Import ordering — import os should come after import json alphabetically in json_dataset.py and plotly_dataset.py.
  3. Missing RELEASE.md entry.
  4. Issue reference#1375 references #1316 (ensure os.PathLike works) but the changes also address #1317 (update type annotations/docstrings). It would be good to reference both, or at least #1317 since the type annotation update is the primary change.

@datascienceio
Copy link
Copy Markdown
Contributor Author

Hi Elena, thank you for the information. Will update this. Kind regards

Signed-off-by: datascienceio <[email protected]>
Updated filepath type for Plotly information in Kedro-datasets to evaluate Path directly instead of string, removing posix-related term.

Signed-off-by: datascienceio <[email protected]>
@datascienceio
Copy link
Copy Markdown
Contributor Author

Hi, I've updated the files. Thankyou

Copy link
Copy Markdown
Contributor

@ElenaKhaustova ElenaKhaustova left a comment

Choose a reason for hiding this comment

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

Thank you, @datascienceio!

Left minor suggestions on RELEASE.md formatting, otherwise looks good 👍

Comment thread kedro-datasets/RELEASE.md Outdated
Comment thread kedro-datasets/RELEASE.md Outdated
datascienceio and others added 2 commits April 21, 2026 21:04
Co-authored-by: ElenaKhaustova <[email protected]>
Signed-off-by: datascienceio <[email protected]>
Co-authored-by: ElenaKhaustova <[email protected]>
Signed-off-by: datascienceio <[email protected]>
@datascienceio
Copy link
Copy Markdown
Contributor Author

I've clicked to add the suggestions, thanks

Copy link
Copy Markdown
Contributor

@ElenaKhaustova ElenaKhaustova left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Copy Markdown
Contributor

@ankatiyar ankatiyar left a comment

Choose a reason for hiding this comment

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

@ElenaKhaustova ElenaKhaustova merged commit 717204a into kedro-org:main Apr 21, 2026
16 checks passed
@datascienceio
Copy link
Copy Markdown
Contributor Author

Thank you!

iwhalen pushed a commit to iwhalen/kedro-plugins that referenced this pull request Apr 22, 2026
* Update filepath type to support os.PathLike

Signed-off-by: datascienceio <[email protected]>

* Update filepath type to support os.PathLike

Signed-off-by: datascienceio <[email protected]>

* Update filepath type to support os.PathLike

Signed-off-by: datascienceio <[email protected]>

* Simplify filepath_html fixture return statement

Signed-off-by: datascienceio <[email protected]>

* Refactor filepath_json fixture to remove as_posix

Signed-off-by: datascienceio <[email protected]>

* Refactor filepath_json fixture return statement

Signed-off-by: datascienceio <[email protected]>

* Add future annotations import to html_dataset.py

Signed-off-by: datascienceio <[email protected]>

* Add import statement for future annotations

Signed-off-by: datascienceio <[email protected]>

* Update json_dataset.py

Signed-off-by: datascienceio <[email protected]>

* Reorder import statements in plotly_dataset.py

Signed-off-by: datascienceio <[email protected]>

* Fix filepath type for Plotly information in RELEASE.md

Updated filepath type for Plotly information in Kedro-datasets to evaluate Path directly instead of string, removing posix-related term.

Signed-off-by: datascienceio <[email protected]>

* Update kedro-datasets/RELEASE.md

Co-authored-by: ElenaKhaustova <[email protected]>
Signed-off-by: datascienceio <[email protected]>

* Apply suggestion from @ElenaKhaustova

Co-authored-by: ElenaKhaustova <[email protected]>
Signed-off-by: datascienceio <[email protected]>

---------

Signed-off-by: datascienceio <[email protected]>
Co-authored-by: ElenaKhaustova <[email protected]>
Signed-off-by: iwhalen <[email protected]>
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.

3 participants