Skip to content

ALL-OVER0003 · examples

These examples come directly from ALL-OVER0003. Read their source.

class Client:
def send(self, payload, timeout=30):
return self.transport.write(payload, timeout)
class RetryingClient(Client):
def send(self, payload, timeout):
return self.retry(super().send, payload, timeout)
class RetryingClient(Client):
def send(self, payload, timeout=30):
return self.retry(super().send, payload, timeout)