Commit 38b4c60
committed
Remove the added argument to jsonschema.validators.create. julian@Airm ●
We need a better public API for vocabularies, and this unfortunately
won't cut it.
For now this is dirty, but works to load all vocabularies (which
are just concatenated together).
The reason this is needed is because I don't see a PEP302-compliant
way to load a whole directory using the importlib.resources APIs
(which call directories 'packages') -- and doing so manually would
break importing jsonschema via a zip file, which is something
historically that users were doing.1 parent 1790fcc commit 38b4c60
File tree
17 files changed
+9
-615
lines changed- jsonschema
- schemas
- draft2019-09
- draft2020-12
17 files changed
+9
-615
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 61 | | |
75 | 62 | | |
76 | 63 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments