(validator, properties, instance, schema)
| 106 | |
| 107 | def extend_with_additional_check(validator_class): |
| 108 | def set_additional_check(validator, properties, instance, schema): |
| 109 | ref = schema.get("x-additional-check") |
| 110 | _, func = op_resolver(ref) |
| 111 | for error in func(validator, properties, instance, schema): |
| 112 | yield error |
| 113 | |
| 114 | return jsonschema.validators.extend( |
| 115 | validator_class, |
nothing calls this directly
no test coverage detected