8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9321869 commit 1630506Copy full SHA for 1630506
docs/changes.rst
@@ -2,6 +2,11 @@
2
Changelog
3
=========
4
5
+v0.33.0
6
+-------
7
+
8
+* Add a ``referencing.jsonschema.SchemaResource`` type alias to go along with the other JSON Schema specialized types.
9
10
v0.32.1
11
-------
12
referencing/jsonschema.py
@@ -20,6 +20,9 @@
20
#: A JSON Schema of any kind
21
Schema = Union[bool, ObjectSchema]
22
23
+#: A Resource whose contents are JSON Schemas
24
+SchemaResource = Resource[Schema]
25
26
#: A JSON Schema Registry
27
SchemaRegistry = Registry[Schema]
28
@@ -588,7 +591,7 @@ class DynamicAnchor:
588
591
"""
589
592
590
593
name: str
- resource: Resource[Schema]
594
+ resource: SchemaResource
595
596
def resolve(self, resolver: _Resolver[Schema]) -> _Resolved[Schema]:
597
0 commit comments