code: def _refresh(self):
          
          log.debug('refreshing directory cache')
          self._users.update(list(self._user_gen()))
          self._channels.update(list(self._channel_gen()))
docs: refresh internal directory cache