Skip to content

types-jsonschema 4.26.0.20260202

Version history | Download JSON

  • PyPI https://pypi.org/project/types-jsonschema/
    Repository https://github.com/python/typeshed

  • py.typed
    stubs-only typeshed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 99
        "Any" : 11
        "Untyped" : 32
    • 77.5% coverage
    • 69.7% coverage (strict)
    • 142 typable
      • 99 typed
      • 32 untyped
      • 11 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 46
        "classes" : 80
        "other" : 4
    • 11 functions (+0 overloads)
      • 35 parameters
    • 25 classes
      • 30 methods (+0 overloads)
        • 47 parameters
      • 3 properties
    • 6 modules
      • 4 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
jsonschema._format 100.0% 100.0% 15 0
jsonschema._types 83.3% 83.3% 12 0
jsonschema.cli 100.0% 100.0% 10 0
jsonschema.exceptions 74.4% 59.0% 39 0
jsonschema.protocols 0.0% 0.0% 0 0
jsonschema.validators 69.7% 62.1% 66 0

Incomplete Annotations

jsonschema._types (2 missing, 0 any)

Symbol Typable Typed Any
meth TypeChecker.is_type 3 2 0
meth TypeChecker.redefine_many 2 1 0

jsonschema.exceptions (10 missing, 6 any)

Symbol Typable Typed Any
meth UnknownType.init 4 1 0
attr UnknownType.type 1 1 1
attr UnknownType.instance 1 1 1
attr UnknownType.schema 1 1 1
meth UndefinedTypeCheck.init 2 1 0
attr UndefinedTypeCheck.type 1 1 1
func jsonschema.exceptions.best_match 3 2 0
meth FormatError.init 3 1 0
attr FormatError.message 1 1 1
attr FormatError.cause 1 1 1
meth ErrorTree.getitem 2 0 0
prop ErrorTree.total_errors 1 0 0

jsonschema.validators (20 missing, 5 any)

Symbol Typable Typed Any
func jsonschema.validate 6 6 2
func jsonschema.validators.create 8 7 0
func jsonschema.validators.extend 6 0 0
meth RefResolver.init 8 6 0
meth RefResolver.from_schema 5 1 0
meth RefResolver.push_scope 2 1 0
meth RefResolver.in_scope 2 1 0
meth RefResolver.resolve_from_url 2 1 0
meth RefResolver.resolve_fragment 3 1 0
meth RefResolver.resolve_remote 2 1 0
prop RefResolver.resolution_scope 1 0 0
attr RefResolver.cache_remote 1 1 1
func jsonschema.validators.validate 6 6 2

Type-Ignore Comments

No type-ignore comments.