Skip to content

Commit ea600b2

Browse files
committed
restore rdflib.query.Processor to its previous state
`rdflib.query.Processor` is an interface for plugins, and changes to it that broaden it will affect existing plugins that only support the narrower interface.
1 parent 99432ec commit ea600b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rdflib/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def __init__(self, graph: "Graph"):
5757
def query( # type: ignore[empty-body]
5858
self,
5959
strOrQuery: Union[str, "Query"], # noqa: N803
60-
initBindings: Optional[Mapping["str", "Identifier"]] = {}, # noqa: N803
61-
initNs: Optional[Mapping[str, Any]] = {}, # noqa: N803
60+
initBindings: Mapping["str", "Identifier"] = {}, # noqa: N803
61+
initNs: Mapping[str, Any] = {}, # noqa: N803
6262
DEBUG: bool = False,
6363
) -> Mapping[str, Any]:
6464
pass

0 commit comments

Comments
 (0)