jsonschema 4.26.0
Version history | Download JSON
-
PyPI https://pypi.org/project/jsonschema/ Repository https://github.com/python-jsonschema/jsonschema -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 44 "Any" : 0 "Untyped" : 69 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 40 "classes" : 54 "other" : 10- 10 functions (+0 overloads)
- 30 parameters
- 9 classes
- 25 methods (+0 overloads)
- 28 parameters
- 1 properties
- 25 methods (+0 overloads)
- 6 modules
- 10 attrs
- 10 functions (+0 overloads)
Modules
Incomplete Annotations
jsonschema._format (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
FormatChecker.init |
2 | 1 | 0 |
meth |
FormatChecker.repr |
1 | 0 | 0 |
jsonschema._types (5 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
TypeChecker.repr |
1 | 0 | 0 |
meth |
TypeChecker.is_type |
3 | 2 | 0 |
meth |
TypeChecker.redefine |
3 | 2 | 0 |
meth |
TypeChecker.redefine_many |
2 | 1 | 0 |
meth |
TypeChecker.remove |
2 | 1 | 0 |
jsonschema.cli (10 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
run |
5 | 0 | 0 |
func |
parse_args |
2 | 0 | 0 |
func |
main |
2 | 0 | 0 |
attr |
parser |
1 | 0 | 0 |
jsonschema.exceptions (31 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
UnknownType.init |
4 | 0 | 0 |
meth |
UnknownType.str |
1 | 0 | 0 |
attr |
UnknownType.type |
1 | 0 | 0 |
attr |
UnknownType.instance |
1 | 0 | 0 |
attr |
UnknownType.schema |
1 | 0 | 0 |
attr |
UndefinedTypeCheck.type |
1 | 0 | 0 |
func |
best_match |
3 | 0 | 0 |
attr |
relevance |
1 | 0 | 0 |
func |
by_relevance |
3 | 0 | 0 |
meth |
FormatError.init |
3 | 0 | 0 |
meth |
FormatError.str |
1 | 0 | 0 |
attr |
FormatError.message |
1 | 0 | 0 |
attr |
FormatError.cause |
1 | 0 | 0 |
meth |
ErrorTree.init |
2 | 1 | 0 |
meth |
ErrorTree.contains |
2 | 1 | 0 |
meth |
ErrorTree.getitem |
2 | 0 | 0 |
meth |
ErrorTree.setitem |
3 | 2 | 0 |
meth |
ErrorTree.iter |
1 | 0 | 0 |
meth |
ErrorTree.len |
1 | 0 | 0 |
meth |
ErrorTree.repr |
1 | 0 | 0 |
prop |
ErrorTree.total_errors |
1 | 0 | 0 |
jsonschema.validators (21 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
Draft4Validator |
1 | 0 | 0 |
attr |
Draft6Validator |
1 | 0 | 0 |
attr |
Draft3Validator |
1 | 0 | 0 |
attr |
Draft7Validator |
1 | 0 | 0 |
attr |
Draft202012Validator |
1 | 0 | 0 |
attr |
Draft201909Validator |
1 | 0 | 0 |
func |
validate |
6 | 0 | 0 |
func |
validator_for |
3 | 2 | 0 |
func |
extend |
6 | 0 | 0 |
func |
validates |
2 | 0 | 0 |
Type-Ignore Comments
| Flavor | Count |
|---|---|
type: ignore[call-arg] |
1 |