File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ Release notes
4
4
5
5
This page describes important changes between python-gitlab releases.
6
6
7
+ Changes from 1.8 to 1.9
8
+ =======================
9
+
10
+ * ``ProjectMemberManager.all() `` and ``GroupMemberManager.all() `` now return a
11
+ list of ``ProjectMember `` and ``GroupMember `` objects respectively, instead
12
+ of a list of dicts.
13
+
7
14
Changes from 1.7 to 1.8
8
15
=======================
9
16
Original file line number Diff line number Diff line change @@ -740,7 +740,8 @@ def all(self, **kwargs):
740
740
"""
741
741
742
742
path = '%s/all' % self .path
743
- return self .gitlab .http_list (path , ** kwargs )
743
+ obj = self .gitlab .http_list (path , ** kwargs )
744
+ return [self ._obj_cls (self , item ) for item in obj ]
744
745
745
746
746
747
class GroupMergeRequest (RESTObject ):
@@ -1955,7 +1956,8 @@ def all(self, **kwargs):
1955
1956
"""
1956
1957
1957
1958
path = '%s/all' % self .path
1958
- return self .gitlab .http_list (path , ** kwargs )
1959
+ obj = self .gitlab .http_list (path , ** kwargs )
1960
+ return [self ._obj_cls (self , item ) for item in obj ]
1959
1961
1960
1962
1961
1963
class ProjectNote (RESTObject ):
You can’t perform that action at this time.
0 commit comments