Loading gitlab/v4/objects.py +4 −1 Original line number Diff line number Diff line Loading @@ -236,8 +236,11 @@ class UserProjectManager(ListMixin, CreateMixin, RESTManager): GitlabAuthenticationError: If authentication is not correct GitlabListError: If the server cannot perform the request """ if self._parent is not None: path = '/users/%s/projects' % self._parent.id else: path = '/users/%s/projects' % kwargs['user_id'] return ListMixin.list(self, path=path, **kwargs) Loading Loading
gitlab/v4/objects.py +4 −1 Original line number Diff line number Diff line Loading @@ -236,8 +236,11 @@ class UserProjectManager(ListMixin, CreateMixin, RESTManager): GitlabAuthenticationError: If authentication is not correct GitlabListError: If the server cannot perform the request """ if self._parent is not None: path = '/users/%s/projects' % self._parent.id else: path = '/users/%s/projects' % kwargs['user_id'] return ListMixin.list(self, path=path, **kwargs) Loading