def list_roles(self, **kwargs):
warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>DeprecationWarning<EOL>)<EOL>return self.get_roles(**kwargs)<EOL>
List the roles available to an account.

.. warning::
    .. deprecated:: 0.10.0
        Use :func:`canvasapi.account.Account.get_roles` instead.

:calls: `GET /api/v1/accounts/:account_id/roles \
<https://canvas.instructure.com/doc/api/roles.html#method.role_overrides.api_index>`_

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.account.Role`