@@ -1184,8 +1184,8 @@ class GroupVariableManager(CRUDMixin, RESTManager):
1184
1184
_path = "/groups/%(group_id)s/variables"
1185
1185
_obj_cls = GroupVariable
1186
1186
_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" ))
1189
1189
1190
1190
1191
1191
class Group (SaveMixin , ObjectDeleteMixin , RESTObject ):
@@ -3716,8 +3716,8 @@ class ProjectVariableManager(CRUDMixin, RESTManager):
3716
3716
_path = "/projects/%(project_id)s/variables"
3717
3717
_obj_cls = ProjectVariable
3718
3718
_from_parent_attrs = {"project_id" : "id" }
3719
- _create_attrs = (("key" , "value" ), tuple ( ))
3720
- _update_attrs = (("key" , "value" ), tuple ( ))
3719
+ _create_attrs = (("key" , "value" ), ( "protected" , "variable_type" ))
3720
+ _update_attrs = (("key" , "value" ), ( "protected" , "variable_type" ))
3721
3721
3722
3722
3723
3723
class ProjectService (SaveMixin , ObjectDeleteMixin , RESTObject ):
0 commit comments