get_task

toloka.client.TolokaClient.get_task | Source code

get_task(self, task_id: str)

Gets a task with specified ID from Toloka.

Parameters description

ParametersTypeDescription
task_idstr

The ID of the task.

  • Returns:

    The task with the ID specified in the request.

  • Return type:

    Task

Examples:

task = toloka_client.get_task(task_id='00001092da--61ef01d5825234636bb088eb')
print(task.input_values)

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