| 295 | log.append(f'json error error={error}') |
| 296 | |
| 297 | class Strings(ValidateStringsHandlerProtocol): |
| 298 | def on_enter(self, input, **kwargs) -> None: |
| 299 | log.append(f'strings enter input={input} kwargs={kwargs}') |
| 300 | |
| 301 | def on_success(self, result: Any) -> None: |
| 302 | log.append(f'strings success result={result}') |
| 303 | |
| 304 | def on_error(self, error: ValidationError) -> None: |
| 305 | log.append(f'strings error error={error}') |
| 306 | |
| 307 | class Plugin(PydanticPluginProtocol): |
| 308 | def new_schema_validator(self, schema, schema_type, schema_type_path, schema_kind, config, plugin_settings): |
no outgoing calls