reject_assignment

toloka.client.TolokaClient.reject_assignment | Source code

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

Rejects an assignment.

Parameters Description

ParametersTypeDescription
assignment_idstr

The ID of the assignment.

public_commentstr

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')
Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming