feat: add type hints to rdflib.path by aucampia · Pull Request #2261 · RDFLib/rdflib (original) (raw)

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