MCPcopy
hub / github.com/pydantic/pydantic / __repr_args__

Method __repr_args__

pydantic/v1/error_wrappers.py:78–79  ·  pydantic/v1/error_wrappers.py::ValidationError.__repr_args__
(self)

Source from the content-addressed store, hash-verified

76 )
77
78 def __repr_args__(self) -> &class="cm">#x27;ReprArgs':
79 return [(&class="cm">#x27;modelclass="st">', self.model.__name__), ('errors', self.errors())]
80
81
82def display_errors(errors: List[&class="cm">#x27;ErrorDict']) -> str:

Callers

nothing calls this directly

Calls 1

errorsMethod · 0.95

Tested by

no test coverage detected