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

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

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