Lines Matching refs:properties
77 return self.prop in obj.properties
87 obj.properties[self.prop] = None
89 if self.prop in obj.properties:
90 del obj.properties[self.prop]
111 if self.prop in obj.properties:
112 value = obj.properties[self.prop]
127 if self.prop in obj.properties:
128 del obj.properties[self.prop]
130 obj.properties[self.prop] = None # Empty value, but present
132 obj.properties[self.prop] = value
135 if self.prop in obj.properties:
136 del obj.properties[self.prop]
151 def __init__(self, properties, type): argument
152 self.properties = properties
210 return serialize_cache_control(self.properties)
216 return self.__class__(self.properties.copy(), type=self.type)
219 def serialize_cache_control(properties): argument
220 if isinstance(properties, CacheControl):
221 properties = properties.properties
223 for name, value in sorted(properties.items()):