diff options
Diffstat (limited to 'gitlab/v4/objects/environments.py')
-rw-r--r-- | gitlab/v4/objects/environments.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/v4/objects/environments.py b/gitlab/v4/objects/environments.py index a8bd9d5..1961f8a 100644 --- a/gitlab/v4/objects/environments.py +++ b/gitlab/v4/objects/environments.py @@ -13,7 +13,7 @@ from gitlab.mixins import ( SaveMixin, UpdateMixin, ) -from gitlab.types import RequiredOptional +from gitlab.types import ArrayAttribute, RequiredOptional __all__ = [ "ProjectEnvironment", @@ -77,6 +77,7 @@ class ProjectProtectedEnvironmentManager( ), optional=("required_approval_count", "approval_rules"), ) + _types = {"deploy_access_levels": ArrayAttribute, "approval_rules": ArrayAttribute} def get( self, id: Union[str, int], lazy: bool = False, **kwargs: Any |