Toloka documentation

reject_assignment

toloka.client.TolokaClient.reject_assignment | Source code

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

Rejects an assignment.

Parameters Description

Parameters Type Description
assignment_id str

The ID of the assignment.

public_comment str

A public comment visible to Tolokers.

  • Returns:

    Assignment object with updated fields.

  • Return type:

    Assignment

Examples:

toloka_client.reject_assignment(assignment_id='1', 'Some questions skipped')