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 17
17
from jsonschema import _utils
18
18
19
19
if TYPE_CHECKING :
20
- from collections .abc import Iterable , Mapping , MutableMapping
20
+ from collections .abc import Iterable , Mapping , MutableMapping , Sequence
21
21
22
22
from jsonschema import _types
23
23
@@ -121,7 +121,7 @@ def create_from(cls, other: _Error):
121
121
return cls (** other ._contents ())
122
122
123
123
@property
124
- def absolute_path (self ) -> deque [str | int ]:
124
+ def absolute_path (self ) -> Sequence [str | int ]:
125
125
parent = self .parent
126
126
if parent is None :
127
127
return self .relative_path
@@ -131,7 +131,7 @@ def absolute_path(self) -> deque[str | int]:
131
131
return path
132
132
133
133
@property
134
- def absolute_schema_path (self ) -> deque [str | int ]:
134
+ def absolute_schema_path (self ) -> Sequence [str | int ]:
135
135
parent = self .parent
136
136
if parent is None :
137
137
return self .relative_schema_path
You can’t perform that action at this time.
0 commit comments