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

Method _contents

jsonschema/exceptions.py:177–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

175 setattr(self, k, v)
176
177 def _contents(self):
178 attrs = (
179 "message", "cause", "context", "validator", "validator_value",
180 "path", "schema_path", "instance", "schema", "parent",
181 )
182 return {attr: getattr(self, attr) for attr in attrs}
183
184 def _matches_type(self) -> bool:
185 try:

Callers 3

create_fromMethod · 0.80
best_match_ofMethod · 0.80

Calls

no outgoing calls

Tested by 2

best_match_ofMethod · 0.64