Toloka

Latest version: v0.0.1

Safety actively analyzes 701533 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

1.1.2

-------------------
Bugfixes:
* Methods for the batch creation of tasks, task suites or user bonuses could create duplicate items in case of unstable connection:
* `TolokaClient.create_tasks_async`, `TolokaClient.create_task_suites_async` and `TolokaClient.create_user_bonuses_async` as well as `TolokaClient.create_tasks`, `TolokaClient.create_task_suites` with `async_mode=True` now guaranteed to create not more than one batch of items for a single function call.
* `TolokaClient.create_user_bonuses` and `TolokaClient.create_user_bonus` are guaranteed to create not more than one batch of items for a single function call but may raise an exception if there was an attempt to create the same batch of items for the second time due to the unstable connection.

1.1.1

-------------------
Features:
* Introduced `batch_size` parameter to `TolokaClient.get_*` methods family. This parameter can be used to control the items limit for every underlying request that is made while iterating.

Deprecated:
* CAPTCHA frequency and CAPTCHA-based quality control settings are deprecated and will be removed in the future. CAPTCHAs are now included automatically for better quality control.

Bugfixes:
* `AsyncTolokaClient` can be serialized and deserialized with pickle now.

1.1.0

-------------------
Features:
* `AsyncTolokaClient` rework. Previously `AsyncTolokaClient` was a simple wrapper over `TolokaClient` that provided asynchrony via threading. This lead to poor performance and instability in the case of many concurrent connections. With the current release, `AsyncTolokaClient` is implemented with native python async code and `httpx` async networking provider internally, fixing all the above problems.

Deprecated:
* All `AsyncTolokaClient` methods returning generators now return async generators. Currently, the old (synchronous) iteration syntax is still supported via an adapter, but we encourage you to switch to the new (asynchronous) one.
Example:
python
async_toloka_client = AsyncTolokaClient(...)

deprecated syntax, support will be dropped in the feature
for assignment in await async_toloka_client.get_assignments(...):
...

recommended syntax
async for assignment in async_toloka_client.get_assignments(...):
...



Changes:
* Toloka-Kit now internally uses `httpx` library instead of `requests`.

Bug fixes:
* `TolokaClient.create_task_suites` now returns response of the correct type.

1.0.2

-------------------
Features:
* `Pipeline` class can be manually iterated now using `Pipeline.run_manually` method.
* `Pipeline` now supports `iteration_mode` parameter, which controls whether the new iteration will start only after the completion of all tasks.

1.0.1

-------------------
Features:
* Some filters now support inversion using "~" operator.
* Improved error messages.
* Added new `Verified` filter.

Bug fixes:
* Filters created using Toloka-Kit now should be rendered correctly in the Toloka UI.
* `Languages.include` now works correctly in case of multiple languages being passed.

1.0.0

-------------------

**Breaking changes**:
* By default only the core version of the package with minimized dependencies size is installed. The following objects were
extracted into package extras:
* `TolokaClient.get_assignments_df` method now requires `toloka-kit[pandas]`;
* `toloka.metrics.jupyter_dashboard` module now requires `toloka-kit[jupyter-metrics]`;
* `ZooKeeperLocker` class now requires `toloka-kit[zookeeper]` installed;
* `S3Storage` class now requires `toloka-kit[s3]`.

To install all optional dependencies (the same behavior as in pre-1.0.0 releases) use `toloka-kit[all]`.

* `SubmittedAssignmentsCountPoolAnalytics` class is renamed to `SubmitedAssignmentsCountPoolAnalytics`.

Features:
* `TolokaClient.wait_operation` now shows progress bar of submitted operation. This behavior can be disabled with
the `disable_progress=True` parameter.
* Supported `infer_data_spec` option in `TemplateBuilderViewSpec`. This option allows you to control whether data
specifications will be inferred from the provided view spec or not.
* New `autoquality` usage example.
* New verified languages in the `Languages` filter.
* New `TolokaClient` option: `act_under_account_id`. This option allows you to act using a shared account without
a token of this account.
* New `TolokaClient` methods: `TolokaClient.find_operations` and `TolokaClient.get_operations`. These methods allow
you to list operations in the same way as the other `find_*` and `get_*` methods.
* New `TolokaClient.get_user` method which allows you to get information about one specific Toloker.
* Massive improvements in documentation.

Changes:
* https://toloka.dev and https://sandbox.toloka.dev domains are now used for the API requests.

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.