Toloka documentation

TolokaRetry

toloka.client.primitives.retry.TolokaRetry | Source code

TolokaRetry(
    self,
    *args,
    retry_quotas: Union[List[str], str, None] = 'MIN',
    **kwargs
)

Retry toloka quotas. By default only minutes quotas.

Parameters Description

Parameters Type Description
retry_quotas Union[List[str], str, None]

List of quotas that will be retried. None or empty list for not retrying quotas. You can specify quotas:

  • MIN - Retry minutes quotas.
  • HOUR - Retry hourly quotas. This is means that the program just sleeps for an hour! Be careful.
  • DAY - Retry daily quotas. We strongly not recommended retrying these quotas.

Methods Summary

Method Description
get_retry_after None
increment None
new None