AssignmentPatch

toloka.client.assignment.AssignmentPatch | Source code

AssignmentPatch(
self,
*,
public_comment: Optional[str] = None,
status: Optional[Assignment.Status] = None
)

The new status of an assignment.

It is used in the patch_assignment method to accept or reject an assignment and to leave a comment.

Parameters description

ParametersTypeDescription
public_commentOptional[str]

The public comment.

statusOptional[Assignment.Status]

The new status of an assignment:

  • ACCEPTED — Accepted by the requester.
  • REJECTED — Rejected by the requester.

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