File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717from jsonschema import _utils
1818
1919if TYPE_CHECKING :
20- from collections .abc import Iterable , Mapping , MutableMapping
20+ from collections .abc import Iterable , Mapping , MutableMapping , Sequence
2121
2222 from jsonschema import _types
2323
@@ -121,7 +121,7 @@ def create_from(cls, other: _Error):
121121 return cls (** other ._contents ())
122122
123123 @property
124- def absolute_path (self ) -> deque [str | int ]:
124+ def absolute_path (self ) -> Sequence [str | int ]:
125125 parent = self .parent
126126 if parent is None :
127127 return self .relative_path
@@ -131,7 +131,7 @@ def absolute_path(self) -> deque[str | int]:
131131 return path
132132
133133 @property
134- def absolute_schema_path (self ) -> deque [str | int ]:
134+ def absolute_schema_path (self ) -> Sequence [str | int ]:
135135 parent = self .parent
136136 if parent is None :
137137 return self .relative_schema_path
You can’t perform that action at this time.
0 commit comments