def unit_client(self):
        # type: () -> Client
        """Return a client with same settings of the batch client"""

        client = Client(self.host, self.port, self.prefix)
        self._configure_client(client)
        return client
Return a client with same settings of the batch client