

def _send_to_buffer(self, packet):
    self.buffer.append(packet)
    if (len(packet.buffer) >= self.max_buffer_size):
        self._flush_buffer()

dataset/ETHPy150Open DataDog/datadogpy/datadog/dogstatsd/base.py DogStatsd._send_to_buffer/VarMisuse@25/29 `self`->`packet`