def unsubscribe_all_channel(channel_name,exclude):
  unsubscribe_many({channel_name:filter(lambda x: not x in exclude,get_channel_clients(channel_name))})
unsubscribe all the clients from the channel except those in the exclude list
dataset/ETHPy150Open urielka/shaveet/shaveet/api.py/unsubscribe_all_channel