diff options
| author | John Villalovos <john@sodarock.com> | 2021-05-06 12:25:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-06 12:25:28 -0700 |
| commit | 45edae9d65aced6fbd41fe68463418c6e4ca39ee (patch) | |
| tree | 057acb6628b9cc838eab87a79b5d84e2bb723ae8 /gitlab/v4/objects/projects.py | |
| parent | 1ddb54a0b4605964477a0d5c5b8a895afe9c3989 (diff) | |
| parent | a014774a6a2523b73601a1930c44ac259d03a50e (diff) | |
| download | gitlab-45edae9d65aced6fbd41fe68463418c6e4ca39ee.tar.gz | |
Merge pull request #1420 from python-gitlab/fix/missing-list-attributes
fix(objects): make lists work for filters in all objects
Diffstat (limited to 'gitlab/v4/objects/projects.py')
| -rw-r--r-- | gitlab/v4/objects/projects.py | 3 |
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, |
