def set_property ( self , key , value ) : self . properties [ key ] = value self . sync_properties ( )
dynamically add a property python using property
Update only one property in the dict
def set_property(self, key, value):
        """
        Update only one property in the dict
        """
        self.properties[key] = value
        self.sync_properties()