def _find_connection(self, channel, xs_hosted): connection_id = self._get_connection_id(channel, xs_hosted) return network.find_connection_by_id(connection_id)
def _find_connection(self, channel): connection_id = self._get_connection_id(channel) return network.find_connection_by_id(connection_id)