get_app_batch

toloka.async_client.client.AsyncTolokaClient.get_app_batch | Source code

async get_app_batch(
self,
app_project_id: str,
batch_id: str
)

Gets information from Toloka about a batch in an App project.

Parameters description

ParametersTypeDescription
app_project_idstr

The ID of the project.

batch_idstr

The ID of the batch.

  • Returns:

    The App batch.

  • Return type:

    AppBatch

Examples:

batch = toloka_client.get_app_batch(
app_project_id='Q2d15QBjpwWuDz8Z321g',
app_batch_id='4Va2BBWKL88S4QyAgVje'
)
print(batch.status, batch.items_count, batch.cost)

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