def list_groups(self, **kwargs):
warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>DeprecationWarning<EOL>)<EOL>return self.get_groups(**kwargs)<EOL>
List groups in group category.

.. warning::
    .. deprecated:: 0.10.0
        Use :func:`canvasapi.group.GroupCategory.get_groups` instead.

:calls: `GET /api/v1/group_categories/:group_category_id/groups \
<https://canvas.instructure.com/doc/api/group_categories.html#method.group_categories.groups>`_

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.group.Group`