PoolCloseOperation

toloka.client.operations.PoolCloseOperation | Source code

PoolCloseOperation(
self,
*,
id: Optional[str] = None,
status: Union[Operation.Status, str, None] = None,
submitted: Optional[datetime] = None,
started: Optional[datetime] = None,
finished: Optional[datetime] = None,
progress: Optional[int] = None,
details: Optional[Any] = None,
parameters: Optional[PoolOperation.Parameters] = None
)

Pool closing operation.

The operation is returned by the close_pool_async method.

Parameters description

ParametersTypeDescription
idOptional[str]

The ID of the operation.

statusOptional[Operation.Status]

The status of the operation.

submittedOptional[datetime]

The UTC date and time when the operation was requested.

startedOptional[datetime]

The UTC date and time when the operation started.

finishedOptional[datetime]

The UTC date and time when the operation finished.

progressOptional[int]

The operation progress as a percentage.

detailsOptional[Any]

Details of the operation completion.

parametersOptional[PoolOperation.Parameters]

Parameters containing the ID of the pool.

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