File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
jsonschema_specifications Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ python-dateutil==2.8.2
67
67
# via matplotlib
68
68
pytz == 2022.7.1
69
69
# via babel
70
- referencing == 0.21 .0
70
+ referencing == 0.23 .0
71
71
# via jsonschema-specifications
72
72
requests == 2.28.2
73
73
# via sphinx
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ def _schemas():
30
30
children = [child ] if child .is_file () else child .iterdir ()
31
31
for path in children :
32
32
contents = json .loads (path .read_text ())
33
- resource = Resource .from_contents (contents )
34
- yield resource .id (), resource
33
+ yield Resource .from_contents (contents )
35
34
36
35
37
- REGISTRY : Registry = Registry (). with_resources ( _schemas ()).crawl ()
36
+ REGISTRY : Registry = ( _schemas () @ Registry ()).crawl ()
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ classifiers = [
32
32
dynamic = [" version" ]
33
33
34
34
dependencies = [
35
- " referencing>=0.21 .0" ,
35
+ " referencing>=0.23 .0" ,
36
36
" importlib_resources>=1.4.0;python_version<'3.9'" ,
37
37
]
38
38
You can’t perform that action at this time.
0 commit comments