def __init__(
        self,
        recruiter_id,
        worker_id,
        assignment_id,
        hit_id,
        mode,
        fingerprint_hash=None,
    ):
        """Create a participant."""
        self.recruiter_id = recruiter_id
        self.worker_id = worker_id
        self.assignment_id = assignment_id
        self.hit_id = hit_id
        self.unique_id = worker_id + ":" + assignment_id
        self.mode = mode
        self.fingerprint_hash = fingerprint_hash
def __init__ ( self , recruiter_id , worker_id , assignment_id , hit_id , mode , fingerprint_hash = None , ) : self . recruiter_id = recruiter_id self . worker_id = worker_id self . assignment_id = assignment_id self . hit_id = hit_id self . unique_id = worker_id + ":" + assignment_id self . mode = mode self . fingerprint_hash = fingerprint_hash
Create a participant.