Toloka documentation

on_accepted

    toloka.streaming.observer.AssignmentsObserver.on_accepted | Source code

    on_accepted(self, callback: Union[Callable[[List[AssignmentEvent]], None], Callable[[List[AssignmentEvent]], Awaitable[None]]])