toloka.client.TolokaClient.accept_assignment | Source code
accept_assignment( self, assignment_id: str, public_comment: str)Accepts an assignment.
| Parameters | Type | Description |
|---|---|---|
assignment_id | str | The ID of the assignment. |
public_comment | str | A comment visible to Tolokers. |
Returns:
The assignment object with the updated status field.
Return type:
Examples:
toloka_client.accept_assignment( assignment_id='00001092da--61ef030400c684132d0da0de', public_comment='Well done!')Last updated: August 28, 2023