(self)
| 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: |
no outgoing calls