summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Nevin <conor.nevin@thehutgroup.com>2019-11-06 12:04:59 +0000
committerConor Nevin <conor.nevin@thehutgroup.com>2019-11-06 12:09:33 +0000
commitadbcd83fa172af2f3929ba063a0e780395b102d8 (patch)
tree395219a5d27375e733396a02887c133c3d845b47
parentf39c68fd0b180ba72dd11e3cbad932d16d4bb484 (diff)
downloadgitlab-adbcd83fa172af2f3929ba063a0e780395b102d8.tar.gz
feat: add support for include_subgroups filter
-rw-r--r--docs/gl_objects/groups.rst1
-rw-r--r--gitlab/v4/objects.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/gl_objects/groups.rst b/docs/gl_objects/groups.rst
index 7fcf980..0bc00d9 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 7b9c8f3..ee659ed 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",
)