Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfb5034

Browse files
authored
Merge pull request#1127 from gervasek/master
Add masked parameter for project-variable and group-variable
2 parents1d82310 +b6339bf commitbfb5034

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎gitlab/v4/objects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,8 +1347,8 @@ class GroupVariableManager(CRUDMixin, RESTManager):
13471347
_path="/groups/%(group_id)s/variables"
13481348
_obj_cls=GroupVariable
13491349
_from_parent_attrs= {"group_id":"id"}
1350-
_create_attrs= (("key","value"), ("protected","variable_type"))
1351-
_update_attrs= (("key","value"), ("protected","variable_type"))
1350+
_create_attrs= (("key","value"), ("protected","variable_type","masked"))
1351+
_update_attrs= (("key","value"), ("protected","variable_type","masked"))
13521352

13531353

13541354
classGroup(SaveMixin,ObjectDeleteMixin,RESTObject):
@@ -4018,8 +4018,8 @@ class ProjectVariableManager(CRUDMixin, RESTManager):
40184018
_path="/projects/%(project_id)s/variables"
40194019
_obj_cls=ProjectVariable
40204020
_from_parent_attrs= {"project_id":"id"}
4021-
_create_attrs= (("key","value"), ("protected","variable_type"))
4022-
_update_attrs= (("key","value"), ("protected","variable_type"))
4021+
_create_attrs= (("key","value"), ("protected","variable_type","masked"))
4022+
_update_attrs= (("key","value"), ("protected","variable_type","masked"))
40234023

40244024

40254025
classProjectService(SaveMixin,ObjectDeleteMixin,RESTObject):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp