smsframework/data/MessageStatus.py
def states(self):
        """ Get the set of states. Mostly used for pretty printing

            :rtype: set
            :returns: Set of 'accepted', 'delivered', 'expired', 'error'
        """
        ret = set()
        if self.accepted:
            ret.add('accepted')
        if self.delivered:
            ret.add('delivered')
        if self.expired:
            ret.add('expired')
        if self.error:
            ret.add('error')
        return ret
def states(self):
        ret = set()
        if self.accepted:
            ret.add('accepted')
        if self.delivered:
            ret.add('delivered')
        if self.expired:
            ret.add('expired')
        if self.error:
            ret.add('error')
        return ret
def states ( self ) : ret = set ( ) if self . accepted : ret . add ( 'accepted' ) if self . delivered : ret . add ( 'delivered' ) if self . expired : ret . add ( 'expired' ) if self . error : ret . add ( 'error' ) return ret
Get the set of states. Mostly used for pretty printing

            :rtype: set
            :returns: Set of 'accepted', 'delivered', 'expired', 'error'
Get the set of states . Mostly used for pretty printing