summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/projects.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-04-27 20:02:42 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-04-27 20:25:32 +0200
commit603a351c71196a7f516367fbf90519f9452f3c55 (patch)
tree2c9f7c1a6119699b872210b551ffa2e026de3b25 /gitlab/v4/objects/projects.py
parenta6b6cd4b598ab6eddcf3986486d43e5cdc990e09 (diff)
downloadgitlab-603a351c71196a7f516367fbf90519f9452f3c55.tar.gz
fix(objects): allow lists for filters for in all objectsfix/missing-list-attributes
Diffstat (limited to 'gitlab/v4/objects/projects.py')
-rw-r--r--gitlab/v4/objects/projects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py
index 3dba95d..4618292 100644
--- a/gitlab/v4/objects/projects.py
+++ b/gitlab/v4/objects/projects.py
@@ -676,7 +676,6 @@ class ProjectManager(CRUDMixin, RESTManager):
"service_desk_enabled",
),
)
- _types = {"avatar": types.ImageAttribute}
_list_filters = (
"archived",
"id_after",
@@ -695,6 +694,7 @@ class ProjectManager(CRUDMixin, RESTManager):
"sort",
"starred",
"statistics",
+ "topic",
"visibility",
"wiki_checksum_failed",
"with_custom_attributes",
@@ -702,6 +702,7 @@ class ProjectManager(CRUDMixin, RESTManager):
"with_merge_requests_enabled",
"with_programming_language",
)
+ _types = {"avatar": types.ImageAttribute, "topic": types.ListAttribute}
def import_project(
self,