def sync_flush(self):
        while len(self.queue) > 0:
            method, args, kwargs = self.queue.pop()
            getattr(requests, method)(*args, **kwargs)
            self.total_sent += 1
dataset/ETHPy150Open fabric-bolt/fabric-bolt/fabric_bolt/web_hooks/client.py/Client.sync_flush/original