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='00001092da--61ef030400c684132d0da0de',
public_comment='Some questions skipped'
)

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming