Toloka documentation

AssignmentPatch

toloka.client.assignment.AssignmentPatch | Source code

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

Allows you to accept or reject tasks, and leave a comment

Used in "TolokaClient.patch_assignment" method.

Parameters Description

Parameters Type Description
public_comment Optional[str]

Public comment about an assignment. Why it was accepted or rejected.

status Optional[Assignment.Status]

Status of an assigned task suite.

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