hyperion.ng
Public Member Functions | Public Attributes | List of all members
jsonschema.ErrorTree Class Reference
Inheritance diagram for jsonschema.ErrorTree:

Public Member Functions

def __init__ (self, errors=())
 
def __contains__ (self, k)
 
def __getitem__ (self, k)
 
def __setitem__ (self, k, v)
 
def __iter__ (self)
 
def __len__ (self)
 
def __repr__ (self)
 
def total_errors (self)
 

Public Attributes

 errors
 

Detailed Description

ErrorTrees make it easier to check which validations failed.

Member Function Documentation

§ __getitem__()

def jsonschema.ErrorTree.__getitem__ (   self,
  k 
)
Retrieve the child tree with key ``k``.

§ total_errors()

def jsonschema.ErrorTree.total_errors (   self)
The total number of errors in the entire tree, including children.

The documentation for this class was generated from the following file: