MTurk.Client.
approve_assignment
(**kwargs)¶The ApproveAssignment
operation approves the results of a completed assignment.
Approving an assignment initiates two payments from the Requester's Amazon.com account
If the Requester's account does not have adequate funds for these payments, the call to ApproveAssignment returns an exception, and the approval is not processed. You can include an optional feedback message with the approval, which the Worker can see in the Status section of the web site.
You can also call this operation for assignments that were previous rejected and approve them by explicitly overriding the previous rejection. This only works on rejected assignments that were submitted within the previous 30 days and only if the assignment's related HIT has not been deleted.
See also: AWS API Documentation
Request Syntax
response = client.approve_assignment(
AssignmentId='string',
RequesterFeedback='string',
OverrideRejection=True|False
)
[REQUIRED]
The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
False
.dict
Response Syntax
{}
Response Structure
Exceptions
MTurk.Client.exceptions.ServiceFault
MTurk.Client.exceptions.RequestError