Example #1
0
 def get_mobility_association(self):
     """ return phones that are associated with this user.
     """
     sqlutils = AXLSQLUtils(self.__configname__)
     if not self.__attached__:
         raise exceptions.NotAttachedException('User is not attached')
     for i in sqlutils.user_phone_association(self._uuid):
         yield Phone(uuid=i['fkdevice'])