diff --git a/kor/examples.py b/kor/examples.py index bd58b06..0d072c4 100644 --- a/kor/examples.py +++ b/kor/examples.py @@ -22,7 +22,7 @@ class SimpleExampleAggregator(AbstractVisitor[List[Tuple[str, str]]]): - """Use to visit node and all of its descendents and aggregates all examples.""" + """Use to visit node and all of its descendants and aggregates all examples.""" def visit_option(self, node: "Option", **kwargs: Any) -> List[Tuple[str, str]]: """Should not visit Options directly.""" diff --git a/kor/nodes.py b/kor/nodes.py index 9496f47..8ab00d6 100644 --- a/kor/nodes.py +++ b/kor/nodes.py @@ -225,8 +225,8 @@ class Object(AbstractSchemaNode): Tuple[ str, Union[ - Mapping[str, Any], Sequence[Mapping[str, Any]], + Mapping[str, Any], ], ] ] = tuple()