|
1 | 1 | from gitlab.base import RESTObject |
2 | | -from gitlab.mixins import CreateMixin, ListMixin, SaveMixin, UpdateMethod, UpdateMixin |
| 2 | +from gitlab.mixins import ( |
| 3 | +CreateMixin, |
| 4 | +DeleteMixin, |
| 5 | +ListMixin, |
| 6 | +SaveMixin, |
| 7 | +UpdateMethod, |
| 8 | +UpdateMixin, |
| 9 | +) |
3 | 10 | from gitlab.types import RequiredOptional |
4 | 11 | |
5 | 12 | __all__ = [ |
@@ -16,6 +23,7 @@ class ProjectRegistryRepositoryProtectionRuleManager(
|
16 | 23 | ListMixin[ProjectRegistryRepositoryProtectionRule], |
17 | 24 | CreateMixin[ProjectRegistryRepositoryProtectionRule], |
18 | 25 | UpdateMixin[ProjectRegistryRepositoryProtectionRule], |
| 26 | +DeleteMixin[ProjectRegistryRepositoryProtectionRule], |
19 | 27 | ): |
20 | 28 | _path = "/projects/{project_id}/registry/protection/repository/rules" |
21 | 29 | _obj_cls = ProjectRegistryRepositoryProtectionRule |
|