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]] = ...
)

Parameters for downloading assignments.

These parameters are used in the TolokaClient.get_assignments_df method.

Parameters description

ParametersTypeDescription
statusOptional[List[Status]]

Statuses of assignments to download.

start_time_fromOptional[datetime]

Download assignments submitted after the specified date and time.

start_time_toOptional[datetime]

Download assignments submitted before the specified date and time.

exclude_bannedOptional[bool]

Exclude answers from banned Tolokers, even if their assignments have suitable status.

fieldOptional[List[Field]]

Names of Assignment fields to be downloaded. Fields other then from Assignment class are always downloaded.

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