def list_assignment_groups(self, **kwargs):
warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>DeprecationWarning<EOL>)<EOL>return self.get_assignment_groups(**kwargs)<EOL>
List assignment groups for the specified course.

.. warning::
    .. deprecated:: 0.10.0
        Use :func:`canvasapi.course.Course.get_assignment_groups` instead.

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

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.assignment.AssignmentGroup`