| 428 | return a |
| 429 | |
| 430 | class Plugin2: |
| 431 | def new_schema_validator(self, schema, schema_type, schema_type_path, schema_kind, config, plugin_settings): |
| 432 | assert schema_type.__name__ == 'my_wrapped_function' |
| 433 | assert schema_type_path == SchemaTypePath( |
| 434 | 'tests.test_plugins', 'partial(test_plugin_path_validate_call.<locals>.my_wrapped_function)' |
| 435 | ) |
| 436 | assert schema_kind == 'validate_call' |
| 437 | return CustomOnValidatePython(), None, None |
| 438 | |
| 439 | plugin = Plugin2() |
| 440 | with install_plugin(plugin): |
no outgoing calls