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

feat: add type hints to rdflib.path #2261

Merged
merged 1 commit into from Mar 12, 2023

Conversation

aucampia
Copy link
Member

Summary of changes

There are some deprecation warnings coming from here as evalPath is used internally. I want to fix them, but I want type checking to ensure I don't mess up, so this just adds type checking, will fix the deprecation warnings in a separate PR.

This PR does not include any runtime changes, which can be confirmed from looking at the compact diff shared here.

Checklist

  • Checked that there aren't other open pull requests for
    the same change.
  • Checked that all tests and type checking passes.
  • Considered granting push permissions to the PR branch,
    so maintainers can fix minor issues and keep your PR up to date.

@aucampia aucampia requested a review from a team March 11, 2023 13:23
@aucampia
Copy link
Member Author

planning to merge without review as this has no runtime impact.

There are some deprecation warnings coming from here as `evalPath` is used internally.
I want to fix them, but I want type checking to ensure I don't mess up,
so this just adds type checking, will fix the deprecation warnings in a
seperate PR.
@aucampia aucampia force-pushed the iwana-20230311T1410-type_path branch from fd472ef to 73d2470 Compare March 11, 2023 13:25
@coveralls
Copy link

Coverage Status

Coverage: 90.772% (+0.0009%) from 90.771% when pulling 73d2470 on aucampia:iwana-20230311T1410-type_path into 09b9069 on RDFLib:main.

@aucampia aucampia added review wanted This indicates that the PR is ready for review ready to merge The PR will be merged soon if no further feedback is provided. labels Mar 11, 2023
@aucampia aucampia changed the title feat: add typing to rdflib.path feat: add type hints to rdflib.path Mar 11, 2023
@aucampia aucampia merged commit 3ff2218 into RDFLib:main Mar 12, 2023
@aucampia aucampia deleted the iwana-20230311T1410-type_path branch April 9, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR will be merged soon if no further feedback is provided. review wanted This indicates that the PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants