<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_latency(self, latency):
 """Set client latency."""

        self._client['config']['latency'] = latency
        yield from self._server.client_latency(self.identifier, latency)