def flush(self):
        with self:
            data = self._command('flush')

            if 'reads' in data:
                self._buffer.extend(data['reads'])
Ensures a valid alert is created with default values
dataset/ETHPy150Open geky/pyDAPLink/pyDAPLink/client/transport.py/DAPLinkClientTransport.flush--crossover with--dataset/ETHPy150Open alerta/python-alerta/tests/test_alert.py/TestAlert.test_alert_defaults