(self, name)
Unsubscribe from a collection

        Arguments:
        name - the name of the publication
Unsubscribe from a collection
Unsubscribe from a collection
def unsubscribe(self, name):
        """Unsubscribe from a collection

        Arguments:
        name - the name of the publication"""
        self._wait_for_connect()
        if name not in self.subscriptions:
            raise MeteorClientException('No subscription for {}'.format(name))
        self.ddp_client.unsubscribe(self.subscriptions[name]['id'])
        del self.subscriptions[name]
        self.emit('unsubscribed', name)
def unsubscribe ( self , name ) : self . _wait_for_connect ( ) if name not in self . subscriptions : raise MeteorClientException ( 'No subscription for {}' . format ( name ) ) self . ddp_client . unsubscribe ( self . subscriptions [ name ] [ 'id' ] ) del self . subscriptions [ name ] self . emit ( 'unsubscribed' , name )