diff --git a/rdflib/query.py b/rdflib/query.py index ada117928..155c490e6 100644 --- a/rdflib/query.py +++ b/rdflib/query.py @@ -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