diff options
author | Julian Berman <Julian@GrayVines.com> | 2018-09-29 08:54:43 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2018-09-30 09:37:25 -0400 |
commit | 7c16622e291b516ee23e85a05b89a1a5be97b46a (patch) | |
tree | 5367786f6d8ed5f2f5ed7f6ea1f12a933088ddc8 /jsonschema/_types.py | |
parent | e0add0ee189d9aa97f8326a27da6a925e24a5cae (diff) | |
download | jsonschema-7c16622e291b516ee23e85a05b89a1a5be97b46a.tar.gz |
First step on Draft7 support.
Add everything that's the same in Draft6, which appears to just leave
out if/then/else.
Diffstat (limited to 'jsonschema/_types.py')
-rw-r--r-- | jsonschema/_types.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jsonschema/_types.py b/jsonschema/_types.py index d3ef1c2..f556ded 100644 --- a/jsonschema/_types.py +++ b/jsonschema/_types.py @@ -185,3 +185,4 @@ draft6_type_checker = draft4_type_checker.redefine( isinstance(instance, float) and instance.is_integer() ), ) +draft7_type_checker = draft6_type_checker |