Lines Matching refs:PropertyType

6 from model import PropertyType
112 elif type_.property_type == PropertyType.ARRAY:
114 elif type_.property_type in (PropertyType.CHOICES,
115 PropertyType.OBJECT):
121 if type_.property_type == PropertyType.OBJECT:
146 elif type_.property_type == PropertyType.ENUM:
159 if real_t.property_type == PropertyType.ENUM:
168 elif t.property_type == PropertyType.INTEGER:
170 elif t.property_type == PropertyType.DOUBLE:
172 elif t.property_type == PropertyType.BOOLEAN:
174 elif (t.property_type == PropertyType.ANY or
175 t.property_type == PropertyType.ARRAY or
176 t.property_type == PropertyType.BINARY or
177 t.property_type == PropertyType.CHOICES or
178 t.property_type == PropertyType.OBJECT or
179 t.property_type == PropertyType.FUNCTION or
180 t.property_type == PropertyType.REF or
181 t.property_type == PropertyType.STRING):
217 if (real_t.property_type != PropertyType.ENUM and
219 t.property_type == PropertyType.ANY or
220 t.property_type == PropertyType.ARRAY or
221 t.property_type == PropertyType.BINARY or
222 t.property_type == PropertyType.CHOICES or
223 t.property_type == PropertyType.OBJECT or
224 t.property_type == PropertyType.REF or
225 t.property_type == PropertyType.STRING)):
227 elif t.property_type == PropertyType.FUNCTION:
229 elif (real_t.property_type == PropertyType.ENUM or
230 t.property_type == PropertyType.INTEGER or
231 t.property_type == PropertyType.DOUBLE or
232 t.property_type == PropertyType.BOOLEAN):
237 if type_.property_type == PropertyType.CHOICES:
242 if (type_.property_type == PropertyType.OBJECT and
244 if type_.additional_properties.property_type == PropertyType.ANY:
333 if type_.property_type == PropertyType.CHOICES:
351 elif type_.property_type == PropertyType.OBJECT:
381 if type_.additional_properties.property_type == PropertyType.ANY:
404 if real_type.property_type is PropertyType.CHOICES:
425 if underlying_type.property_type == PropertyType.ENUM:
475 if type_.property_type == PropertyType.OBJECT:
477 elif type_.property_type == PropertyType.CHOICES:
498 if underlying_type.property_type == PropertyType.ENUM:
513 is_ptr = prop.optional or prop.type_.property_type == PropertyType.ANY
525 if type_.additional_properties.property_type == PropertyType.ANY:
616 if underlying_type.property_type == PropertyType.ARRAY:
624 if item_type.property_type == PropertyType.ENUM:
628 if type_.item_type.property_type == PropertyType.REF:
659 if (underlying_type.property_type == PropertyType.CHOICES or
660 underlying_type.property_type == PropertyType.OBJECT):
665 elif (underlying_type.property_type == PropertyType.ANY or
666 underlying_type.property_type == PropertyType.FUNCTION):
672 elif underlying_type.property_type == PropertyType.ENUM:
674 if type_.property_type == PropertyType.REF:
678 elif underlying_type.property_type == PropertyType.BINARY:
682 elif underlying_type.property_type == PropertyType.ARRAY:
689 if underlying_type.property_type == PropertyType.STRING:
835 elif underlying_type.property_type == PropertyType.OBJECT:
872 elif underlying_type.property_type == PropertyType.FUNCTION:
875 elif underlying_type.property_type == PropertyType.ANY:
877 elif underlying_type.property_type == PropertyType.ARRAY:
892 if item_type.property_type == PropertyType.ENUM:
911 elif underlying_type.property_type == PropertyType.CHOICES:
923 elif underlying_type.property_type == PropertyType.ENUM:
928 elif underlying_type.property_type == PropertyType.BINARY:
997 if type_.property_type != PropertyType.ENUM:
1158 if (underlying_type.property_type == PropertyType.ENUM and