def list_folders(self, **kwargs):
warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>DeprecationWarning<EOL>)<EOL>return self.get_folders(**kwargs)<EOL>
Returns the paginated list of folders in the folder.

.. warning::
    .. deprecated:: 0.10.0
        Use :func:`canvasapi.folder.Folder.get_folders` instead.

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

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