diff options
Diffstat (limited to 'gitlab/v4/objects/features.py')
-rw-r--r-- | gitlab/v4/objects/features.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gitlab/v4/objects/features.py b/gitlab/v4/objects/features.py index 4aaa185..80b0cd6 100644 --- a/gitlab/v4/objects/features.py +++ b/gitlab/v4/objects/features.py @@ -37,12 +37,12 @@ class FeatureManager(ListMixin, DeleteMixin, RESTManager): """Create or update the object. Args: - name (str): The value to set for the object + name: The value to set for the object value (bool/int): The value to set for the object - feature_group (str): A feature group name - user (str): A GitLab username - group (str): A GitLab group - project (str): A GitLab project in form group/project + feature_group: A feature group name + user: A GitLab username + group: A GitLab group + project: A GitLab project in form group/project **kwargs: Extra options to send to the server (e.g. sudo) Raises: @@ -50,7 +50,7 @@ class FeatureManager(ListMixin, DeleteMixin, RESTManager): GitlabSetError: If an error occurred Returns: - obj: The created/updated attribute + The created/updated attribute """ path = f"{self.path}/{name.replace('/', '%2F')}" data = { |