Toloka documentation

GetAssignmentsTsvParameters

toloka.client.assignment.GetAssignmentsTsvParameters | Source code

GetAssignmentsTsvParameters(
    self,
    *,
    status: Optional[List[Status]] = ...,
    start_time_from: Optional[datetime] = None,
    start_time_to: Optional[datetime] = None,
    exclude_banned: Optional[bool] = None,
    field: Optional[List[Field]] = ...
)

Allows you to downloads assignments as pandas.DataFrame

Used in "TolokaClient.get_assignments_df" method. Implements the same behavior as if you download results in web-interface and then read it by pandas.

Parameters Description

Parameters Type Description
status Optional[List[Status]]

Assignments in which statuses will be downloaded.

start_time_from Optional[datetime]

Upload assignments submitted after the specified date and time.

start_time_to Optional[datetime]

Upload assignments submitted before the specified date and time.

exclude_banned Optional[bool]

Exclude answers from banned performers, even if assignments in suitable status "ACCEPTED".

field Optional[List[Field]]

The names of the fields to be unloaded. Only the field names from the Assignment class, all other fields are added by default.