diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-23 15:37:43 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-23 15:38:41 +0200 |
commit | ce3dd0d1ac3fbed3cf671720e273470fb1ccdbc6 (patch) | |
tree | c98922592043c7b064e5c3a4f4ec7155087ad70c /gitlab/objects.py | |
parent | 7def297fdf1e0d6926669a4a51cdb8519da1dca1 (diff) | |
download | gitlab-ce3dd0d1ac3fbed3cf671720e273470fb1ccdbc6.tar.gz |
Add 'search' attribute to projects.list()
projects.search() has been deprecated by Gitlab
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index 98c1a32..0def183 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -2276,6 +2276,7 @@ class ProjectRunnerManager(BaseManager): class Project(GitlabObject): _url = '/projects' _constructorTypes = {'owner': 'User', 'namespace': 'Group'} + optionalListAttrs = ['search'] requiredCreateAttrs = ['name'] optionalCreateAttrs = ['path', 'namespace_id', 'description', 'issues_enabled', 'merge_requests_enabled', |