<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all(self, **kwargs):
 """ Returns a list of all media from all library sections. This may be a very large dataset to retrieve. """

        items = []
        for section in self.sections():
            for item in section.all(**kwargs):
                items.append(item)
        return items