# on_accepted
`toloka.streaming.observer.AssignmentsObserver.on_accepted` | [Source code](https://github.com/Toloka/toloka-kit/blob/v0.1.26/src/streaming/observer.py#L389)

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

