Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

edmondchuc
Copy link
Contributor

@edmondchuc edmondchuc commented Oct 19, 2025

Summary of changes

Fixes: #3107

The return type of RDFLib terms (URIRef, BNode, Literal, Variable) has now been removed to allow static type checkers to infer the type.

Checklist

  • Checked that there aren't other open pull requests for
    the same change.
  • Checked that all tests and type checking passes.
  • If the change adds new features or changes the RDFLib public API:
    • Created an issue to discuss the change and get in-principle agreement.
    • Considered adding an example in ./examples.
  • If the change has a potential impact on users of this project:
    • Added or updated tests that fail without the change.
    • Updated relevant documentation to avoid inaccuracies.
    • Considered adding additional documentation.
  • Considered granting push permissions to the PR branch,
    so maintainers can fix minor issues and keep your PR up to date.

@edmondchuc edmondchuc changed the title fix: the return value type of term's __new__ fix: allow static type checkers to infer term's __new__ type Oct 20, 2025
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.

1 participant