toloka.metrics.metrics.BaseMetric
| Source code
BaseMetric( self, *, toloka_client: Optional[TolokaClient] = None, atoloka_client: Optional[AsyncTolokaClient] = None, timeout: timedelta = ...)
Base class for all metrics.
Stores TolokaClient instance for this metric.
Method | Description |
---|---|
get_line_names | Returns a list of metric names that can be generated by this class instance. |
get_lines | Gather and return metrics |
set_client | Sets both TolokaClient and AsyncTolokaClient for the object. |
Last updated: August 28, 2023