accept_assignment
toloka.client.TolokaClient.accept_assignment
| Source code
accept_assignment(
self,
assignment_id: str,
public_comment: str
)
Marks one assignment as accepted
Used then your pool created with auto_accept_solutions=False parametr.
Parameters Description
Parameters | Type | Description |
---|---|---|
assignment_id |
str | What assignment will be accepted. |
public_comment |
str | Message to the performer. |
-
Returns:
Object with new status.
-
Return type:
Examples:
How to accept one assignment.
toloka_client.accept_assignment(assignment_id, 'Well done!')