Skip to content

Commit

Permalink
restore rdflib.query.Processor to its previous state
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
aucampia committed Mar 28, 2023
1 parent 99432ec commit ea600b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rdflib/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def __init__(self, graph: "Graph"):
def query( # type: ignore[empty-body]
self,
strOrQuery: Union[str, "Query"], # noqa: N803
initBindings: Optional[Mapping["str", "Identifier"]] = {}, # noqa: N803
initNs: Optional[Mapping[str, Any]] = {}, # noqa: N803
initBindings: Mapping["str", "Identifier"] = {}, # noqa: N803
initNs: Mapping[str, Any] = {}, # noqa: N803
DEBUG: bool = False,
) -> Mapping[str, Any]:
pass
Expand Down

0 comments on commit ea600b2

Please sign in to comment.