Skip to content

Commit 4ea4cc0

Browse files
committed
fixup! feat(api): add 'masked_and_hidden' to the optional variable create attrs
remove hidden_and_masked from admin vars api
1 parent 7f31242 commit 4ea4cc0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

gitlab/v4/objects/variables.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ class VariableManager(CRUDMixin[Variable]):
2727
_path = "/admin/ci/variables"
2828
_obj_cls = Variable
2929
_create_attrs = RequiredOptional(
30-
required=("key", "value"),
31-
optional=("protected", "variable_type", "masked", "masked_and_hidden"),
30+
required=("key", "value"), optional=("protected", "variable_type", "masked")
3231
)
3332
_update_attrs = RequiredOptional(
3433
required=("key",), optional=("value", "protected", "variable_type", "masked")

0 commit comments

Comments
 (0)