Toloka documentation

UserBonusBatchCreateResult

toloka.client.batch_create_results.UserBonusBatchCreateResult

UserBonusBatchCreateResult(
    self,
    *,
    items: Optional[Dict[str, UserBonus]] = None,
    validation_errors: Optional[Dict[str, Dict[str, FieldValidationError]]] = None
)

The list with the results of the user bonuses creation operation.

Parameters Description

Parameters Type Description
items Optional[Dict[str, UserBonus]]

Object with information about issued bonuses.

validation_errors Optional[Dict[str, Dict[str, FieldValidationError]]]

Object with validation errors. Returned if the parameter is used in the request skip_invalid_items=True.