BaseTolokaObject

toloka.client.primitives.base.BaseTolokaObject | Source code

BaseTolokaObject(self)

A base class for classes representing Toloka objects.

Subclasses of BaseTolokaObject will:

  • Automatically convert annotated attributes attributes via attrs making them optional if not explicitly configured otherwise
  • Skip missing optional fields during unstructuring with client's cattr converter

Methods summary

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