@@ -100,20 +100,38 @@ class SchemaDictFactory(object):
100100 Contribution ('required' , dest_default = []),
101101 Contribution ('default' ),
102102 Contribution ('nullable' , dest_default = False ),
103- Contribution ('all_of' , dest_prop_name = 'allOf' , is_list = True , dest_default = []),
104- Contribution ('one_of' , dest_prop_name = 'oneOf' , is_list = True , dest_default = []),
105- Contribution ('additional_properties' , dest_prop_name = 'additionalProperties' , dest_default = True ),
103+ Contribution (
104+ 'all_of' ,
105+ dest_prop_name = 'allOf' , is_list = True , dest_default = [],
106+ ),
107+ Contribution (
108+ 'one_of' ,
109+ dest_prop_name = 'oneOf' , is_list = True , dest_default = [],
110+ ),
111+ Contribution (
112+ 'additional_properties' ,
113+ dest_prop_name = 'additionalProperties' , dest_default = True ,
114+ ),
106115 Contribution ('min_items' , dest_prop_name = 'minItems' ),
107116 Contribution ('max_items' , dest_prop_name = 'maxItems' ),
108117 Contribution ('min_length' , dest_prop_name = 'minLength' ),
109118 Contribution ('max_length' , dest_prop_name = 'maxLength' ),
110119 Contribution ('pattern' , src_prop_attr = 'pattern' ),
111- Contribution ('unique_items' , dest_prop_name = 'uniqueItems' , dest_default = False ),
120+ Contribution (
121+ 'unique_items' ,
122+ dest_prop_name = 'uniqueItems' , dest_default = False ,
123+ ),
112124 Contribution ('minimum' ),
113125 Contribution ('maximum' ),
114126 Contribution ('multiple_of' , dest_prop_name = 'multipleOf' ),
115- Contribution ('exclusive_minimum' , dest_prop_name = 'exclusiveMinimum' , dest_default = False ),
116- Contribution ('exclusive_maximum' , dest_prop_name = 'exclusiveMaximum' , dest_default = False ),
127+ Contribution (
128+ 'exclusive_minimum' ,
129+ dest_prop_name = 'exclusiveMinimum' , dest_default = False ,
130+ ),
131+ Contribution (
132+ 'exclusive_maximum' ,
133+ dest_prop_name = 'exclusiveMaximum' , dest_default = False ,
134+ ),
117135 Contribution ('min_properties' , dest_prop_name = 'minProperties' ),
118136 Contribution ('max_properties' , dest_prop_name = 'maxProperties' ),
119137 )
0 commit comments