Loading gitlab/v4/objects/package_protection_rules.py +8 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ __all__ = [ class ProjectPackageProtectionRule(ObjectDeleteMixin, SaveMixin, RESTObject): _repr_attr = "name" _repr_attr = "package_name_pattern" class ProjectPackageProtectionRuleManager( Loading @@ -33,4 +33,11 @@ class ProjectPackageProtectionRuleManager( "minimum_access_level_for_push", ), ) _update_attrs = RequiredOptional( optional=( "package_name_pattern", "package_type", "minimum_access_level_for_push", ), ) _update_method = UpdateMethod.PATCH Loading
gitlab/v4/objects/package_protection_rules.py +8 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ __all__ = [ class ProjectPackageProtectionRule(ObjectDeleteMixin, SaveMixin, RESTObject): _repr_attr = "name" _repr_attr = "package_name_pattern" class ProjectPackageProtectionRuleManager( Loading @@ -33,4 +33,11 @@ class ProjectPackageProtectionRuleManager( "minimum_access_level_for_push", ), ) _update_attrs = RequiredOptional( optional=( "package_name_pattern", "package_type", "minimum_access_level_for_push", ), ) _update_method = UpdateMethod.PATCH