diff options
Diffstat (limited to 'gitlab/v4/objects/projects.py')
-rw-r--r-- | gitlab/v4/objects/projects.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py index f9988db..23f3d3c 100644 --- a/gitlab/v4/objects/projects.py +++ b/gitlab/v4/objects/projects.py @@ -125,7 +125,7 @@ class ProjectGroupManager(ListMixin, RESTManager): "shared_min_access_level", "shared_visible_only", ) - _types = {"skip_groups": types.ListAttribute} + _types = {"skip_groups": types.ArrayAttribute} class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTObject): @@ -807,7 +807,10 @@ class ProjectManager(CRUDMixin, RESTManager): "with_merge_requests_enabled", "with_programming_language", ) - _types = {"avatar": types.ImageAttribute, "topic": types.ListAttribute} + _types = { + "avatar": types.ImageAttribute, + "topic": types.CommaSeparatedListAttribute, + } def get(self, id: Union[str, int], lazy: bool = False, **kwargs: Any) -> Project: return cast(Project, super().get(id=id, lazy=lazy, **kwargs)) |