Toloka documentation

reject_assignment

toloka.client.TolokaClient.reject_assignment | Source code

reject_assignment(
    self,
    assignment_id: str,
    public_comment: str
)

Marks one assignment as rejected

Used then your pool created with auto_accept_solutions=False parametr.

Parameters Description

Parameters Type Description
assignment_id str

What assignment will be rejected.

public_comment str

Message to the performer.

  • Returns:

    Object with new status.

  • Return type:

    Assignment

Examples:

Reject an assignment that was completed too fast.

toloka_client.reject_assignment(assignment_id='1', 'Assignment was completed too fast.')