statsdmetrics/client/tcp.py
def batch_client(self, size=512):
        # type: (int) -> TCPBatchClient
        """Return a TCP batch client with same settings of the TCP client"""

        batch_client = TCPBatchClient(self.host, self.port, self.prefix, size)
        self._configure_client(batch_client)
        return batch_client
def batch_client(self, size=512):
        # type: (int) -> TCPBatchClient
        """Return a TCP batch client with same settings of the TCP client"""

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