<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_all(self, request, notifications, mark_as_read=False):
 """ return all notifications with pagination """

        return self.list(request, notifications)