Add capability to control GitLab features per project or group by filipowm · Pull Request #1008 · python-gitlab/python-gitlab
@exc.on_http_error(exc.GitlabSetError) def set(self, name, value, feature_group=None, user=None, **kwargs): def set( self, name, value, feature_group=None, user=None, group=None, project=None, **kwargs ): """Create or update the object.
Args: name (str): 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 **kwargs: Extra options to send to the server (e.g. sudo)
Raises:
max-wittig marked this conversation as resolved.