def get_folders(self, **kwargs):
return PaginatedList(<EOL>Folder,<EOL>self._requester,<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>
Returns the paginated list of all folders for the given course. This will be returned as a
flat list containing all subfolders as well.

:calls: `GET /api/v1/courses/:course_id/folders \
<https://canvas.instructure.com/doc/api/files.html#method.folders.list_all_folders>`_

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.folder.Folder`