toloka.client.TolokaClient.patch_assignment
| Source code
Changes an assignment status and associated public comment.
See also reject_assignment and accept_assignment.
Parameters | Type | Description |
---|---|---|
assignment_id | str | The ID of the assignment. |
public_comment | Optional[str] | The public comment. |
status | Optional[Assignment.Status] | The new status of an assignment:
|
Returns:
Assignment object with updated fields.
Return type:
Examples:
toloka_client.patch_assignment(assignment_id='00001092da--61ef030400c684132d0da0de', public_comment='Accepted. Good job.', status='ACCEPTED')
Last updated: August 28, 2023