def get_channel_zmq(self, cluster_id, channel_id): """ Returns a particular ZMQ channel. """ with closing(self.session()) as session: return query.channel_zmq(session, cluster_id, channel_id)
def get_channel_zmq(self, cluster_id, channel_id): """ Returns a particular ZMQ channel. """ return channel_zmq(self._session, cluster_id, channel_id)