Skip to content

Commit 9ea962e

Browse files
committed
bugfix: Make None->NoneType in schema type list
1 parent d646e75 commit 9ea962e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_jsonschema_objects/classbuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ProtocolBase(collections.MutableMapping):
3939
'boolean': bool,
4040
'integer': int,
4141
'number': (float, int, long),
42-
'null': None,
42+
'null': type(None),
4343
'string': six.string_types,
4444
'object': dict
4545
}

0 commit comments

Comments
 (0)