Skip to content

Commit 069a09b

Browse files
nezharJulian
andcommitted
Update jsonschema/_legacy_validators.py
Co-authored-by: Julian Berman <[email protected]>
1 parent 8711650 commit 069a09b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jsonschema/_legacy_validators.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ def dependencies_draft3(validator, dependencies, instance, schema):
2929

3030
def dependencies_draft4_draft6_draft7(validator, dependencies, instance, schema):
3131
"""
32-
The dependencies keyword has been deprecated since draft 2019-09 and has been split into dependentRequired
33-
and dependentSchemas.
32+
Support for the ``dependencies`` validator from pre-draft 2019-09.
33+
34+
In later drafts, the validator was split into separate ``dependentRequired``
35+
and ``dependentSchemas`` validators.
3436
"""
3537
if not validator.is_type(instance, "object"):
3638
return

0 commit comments

Comments
 (0)