We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0986c93 commit 4724c50Copy full SHA for 4724c50
gitlab/v4/objects.py
@@ -3716,8 +3716,8 @@ class ProjectVariableManager(CRUDMixin, RESTManager):
3716
_path = "/projects/%(project_id)s/variables"
3717
_obj_cls = ProjectVariable
3718
_from_parent_attrs = {"project_id": "id"}
3719
- _create_attrs = (("key", "value"), tuple())
3720
- _update_attrs = (("key", "value"), tuple())
+ _create_attrs = (("key", "value"), ("protected", "variable_type"))
+ _update_attrs = (("key", "value"), ("protected", "variable_type"))
3721
3722
3723
class ProjectService(SaveMixin, ObjectDeleteMixin, RESTObject):
0 commit comments