parameters: (self, state, uids)
docstring: Called when the UID list arrives.
docstring_summary: Called when the UID list arrives.
docstring_tokens: Called when the UID list arrives .
function: def _HandleUIDList(self, state, uids):
      """Called when the UID list arrives."""
      if not state.Succeeded():
        raise DiscoveryException(state.message)
  
      found_uids = set()
      for uid in uids:
        found_uids.add(uid)
        logging.debug(uid)
  
      for uid in self.configuration.keys():
        if uid not in found_uids:
          print('Device %s has been removed' % uid)
      self._SetNextUID()
function_tokens: def _HandleUIDList ( self , state , uids ) : if not state . Succeeded ( ) : raise DiscoveryException ( state . message ) found_uids = set ( ) for uid in uids : found_uids . add ( uid ) logging . debug ( uid ) for uid in self . configuration . keys ( ) : if uid not in found_uids : print ( 'Device %s has been removed' % uid ) self . _SetNextUID ( )