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

Commit0986c93

Browse files
committed
feat: add variable_type to groups ci variables
This adds the ci variables types for create/update requests.Seehttps://docs.gitlab.com/ee/api/group_level_variables.html#create-variable
1 parent3e2d694 commit0986c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎gitlab/v4/objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,8 +1184,8 @@ class GroupVariableManager(CRUDMixin, RESTManager):
11841184
_path="/groups/%(group_id)s/variables"
11851185
_obj_cls=GroupVariable
11861186
_from_parent_attrs= {"group_id":"id"}
1187-
_create_attrs= (("key","value"), ("protected",))
1188-
_update_attrs= (("key","value"), ("protected",))
1187+
_create_attrs= (("key","value"), ("protected","variable_type"))
1188+
_update_attrs= (("key","value"), ("protected","variable_type"))
11891189

11901190

11911191
classGroup(SaveMixin,ObjectDeleteMixin,RESTObject):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp