Skip to content
Snippets Groups Projects
request.py 343 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):
            exchange.Exchange.__init__(self, pk, p, ppw, extime)
    
    
        def __eq__(self, other):
            return self.publicKey == other.publicKey and self.executiontime == other.executiontime