def METHOD_NAME(self):
    tmo = TPegasusTransport(self.transport, self.dispatch)
    self.client = self._client_class(tmo, self._oprot_factory, self.container, self.timeout)
    self.started.callback(self.client)