MCPcopy Create free account
hub / github.com/python-jsonschema/jsonschema / validate

Method validate

jsonschema/validators.py:448–450  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

446 yield error
447
448 def validate(self, *args, **kwargs):
449 for error in self.iter_errors(*args, **kwargs):
450 raise error
451
452 def is_type(self, instance, type):
453 try:

Callers

nothing calls this directly

Calls 1

iter_errorsMethod · 0.95

Tested by

no test coverage detected