MTurk / Client / associate_qualification_with_worker

associate_qualification_with_worker#

MTurk.Client.associate_qualification_with_worker(**kwargs)#

The AssociateQualificationWithWorker operation gives a Worker a Qualification. AssociateQualificationWithWorker does not require that the Worker submit a Qualification request. It gives the Qualification directly to the Worker.

You can only assign a Qualification of a Qualification type that you created (using the CreateQualificationType operation).

Note

Note: AssociateQualificationWithWorker does not affect any pending Qualification requests for the Qualification by the Worker. If you assign a Qualification to a Worker, then later grant a Qualification request made by the Worker, the granting of the request may modify the Qualification score. To resolve a pending Qualification request without affecting the Qualification the Worker already has, reject the request with the RejectQualificationRequest operation.

See also: AWS API Documentation

Request Syntax

response = client.associate_qualification_with_worker(
    QualificationTypeId='string',
    WorkerId='string',
    IntegerValue=123,
    SendNotification=True|False
)
Parameters:
  • QualificationTypeId (string) –

    [REQUIRED]

    The ID of the Qualification type to use for the assigned Qualification.

  • WorkerId (string) –

    [REQUIRED]

    The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.

  • IntegerValue (integer) – The value of the Qualification to assign.

  • SendNotification (boolean) – Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • MTurk.Client.exceptions.ServiceFault

  • MTurk.Client.exceptions.RequestError