From adbcd83fa172af2f3929ba063a0e780395b102d8 Mon Sep 17 00:00:00 2001 From: Conor Nevin Date: Wed, 6 Nov 2019 12:04:59 +0000 Subject: [PATCH] feat: add support for include_subgroups filter --- docs/gl_objects/groups.rst | 1 + gitlab/v4/objects.py | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/gl_objects/groups.rst b/docs/gl_objects/groups.rst index 7fcf980b6..0bc00d999 100644 --- a/docs/gl_objects/groups.rst +++ b/docs/gl_objects/groups.rst @@ -50,6 +50,7 @@ You can filter and sort the result using the following parameters: ``created_at``, ``updated_at`` and ``last_activity_at`` * ``sort``: sort order: ``asc`` or ``desc`` * ``ci_enabled_first``: return CI enabled groups first +* ``include_subgroups``: include projects in subgroups Create a group:: diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 7b9c8f3f4..ee659ed9a 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1097,6 +1097,7 @@ class GroupProjectManager(ListMixin, RESTManager): "owned", "starred", "with_custom_attributes", + "include_subgroups", )