(self, schema, schema_type, schema_type_path, schema_kind, config, plugin_settings)
| 108 | |
| 109 | class Plugin(PydanticPluginProtocol): |
| 110 | def new_schema_validator(self, schema, schema_type, schema_type_path, schema_kind, config, plugin_settings): |
| 111 | assert config == {'title': 'Model'} |
| 112 | assert plugin_settings == {'observe': 'all'} |
| 113 | return None, CustomOnValidateJson(), None |
| 114 | |
| 115 | plugin = Plugin() |
| 116 | with install_plugin(plugin): |
nothing calls this directly
no test coverage detected