Hi All

This might be a bit of a dumb question, but I have to admit I'm 
struggling to find the right answer. 

Is there a way to use a Storm property in a similar way to a python 
property?  For example, in a normal class I can define a setter and 
getter and then a property which uses those methods:

def set_password(self, password):
    self._password = encrypt_password(self.username, password)

def get_password(self):
    return self._password

password = property(get_password, set_password)

Can I do something similar with a storm property?

Thanks,
Jason


-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to