Skip to content

Commit 0eac76f

Browse files
authored
remove passing resolver in json validate (#2186)
1 parent 97b0dd1 commit 0eac76f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/confluent_kafka/schema_registry/common/json_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def _validate_subschemas(
202202
ref = subschema.get("$ref")
203203
if ref is not None:
204204
subschema = resolver.lookup(ref).contents
205-
validate(instance=message, schema=subschema, registry=registry, resolver=resolver)
205+
validate(instance=message, schema=subschema, registry=registry)
206206
return subschema
207207
except ValidationError:
208208
pass

0 commit comments

Comments
 (0)