Skip to content
Snippets Groups Projects
request.py 392 B
Newer Older
  • Learn to ignore specific revisions
  • from datetime import datetime
    
    Johannes Hitzinger's avatar
    Johannes Hitzinger committed
    class Request(exchange.Exchange):
    
        def __init__(self, pk: bytes, p: float, ppw: float, extime: datetime, ip: ipaddress.IPv4Address):
            exchange.Exchange.__init__(self, pk, p, ppw, extime, ip)
    
    
        def __eq__(self, other):
            return self.publicKey == other.publicKey and self.executiontime == other.executiontime