We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2252eda commit 7c0d307Copy full SHA for 7c0d307
1 file changed
jsonschema/_validators.py
@@ -16,7 +16,7 @@ def patternProperties(validator, patternProperties, instance, schema):
16
for k, v in iteritems(instance):
17
if re.search(pattern, k):
18
for error in validator.descend(
19
- v, subschema, path=k, schema_path=pattern
+ v, subschema, path=k, schema_path=pattern,
20
):
21
yield error
22
@@ -47,7 +47,7 @@ def items(validator, items, instance, schema):
47
else:
48
for (index, item), subschema in zip(enumerate(instance), items):
49
50
- item, subschema, path=index, schema_path=index
+ item, subschema, path=index, schema_path=index,
51
52
53
@@ -177,7 +177,7 @@ def dependencies(validator, dependencies, instance, schema):
177
178
if validator.is_type(dependency, "object"):
179
180
- instance, dependency, schema_path=property
+ instance, dependency, schema_path=property,
181
182
183
0 commit comments