def __init__(self, payload, ticket, worker_id):
    self.payload = payload
    self.ticket = ticket
    self.worker_id = worker_id
def __init__(self, payload, ticket, worker_id):
    self.payload = payload
    self.ticket = ticket
    self.worker_id = worker_id