From 7f9211835c75f7169a41500b49f453322ba7e41d Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Tue, 19 Oct 2021 20:34:54 +0200 Subject: [PATCH] sync typeshed changes from cwltool (#453) --- typeshed/rdflib/graph.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typeshed/rdflib/graph.pyi b/typeshed/rdflib/graph.pyi index afb25870..04c921f0 100644 --- a/typeshed/rdflib/graph.pyi +++ b/typeshed/rdflib/graph.pyi @@ -1,4 +1,4 @@ -from typing import Any, Iterator, Optional, Tuple, Union, overload +from typing import Any, Iterator, List, Optional, Tuple, Union, overload from rdflib.term import BNode, Identifier, Node @@ -56,13 +56,13 @@ class Graph(Node): def set(self, triple: Any) -> None: ... def subjects( self, predicate: Optional[Any] = ..., object: Optional[Any] = ... - ) -> None: ... + ) -> List[str]: ... def predicates( self, subject: Optional[Any] = ..., object: Optional[Any] = ... ) -> None: ... def objects( self, subject: Optional[Any] = ..., predicate: Optional[Any] = ... - ) -> None: ... + ) -> List[str]: ... def subject_predicates(self, object: Optional[Any] = ...) -> None: ... def subject_objects(self, predicate: Optional[Any] = ...) -> None: ... def predicate_objects(self, subject: Optional[Any] = ...) -> None: ...