Skip to content

Commit

Permalink
sync typeshed changes from cwltool (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c authored Oct 19, 2021
1 parent 19cebce commit 7f92118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typeshed/rdflib/graph.pyi
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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: ...
Expand Down

0 comments on commit 7f92118

Please sign in to comment.