AsyncInterfaceWrapper

toloka.util.async_utils.AsyncInterfaceWrapper | Source code

AsyncInterfaceWrapper(self, wrapped: TypeVar('T'))

Wrap arbitrary object to be able to await any of it's methods even if it's sync.

Note, that it doesn't provide concurrency by itself! It just allow to treat sync and async callables in the same way.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming