blob: 201d072bd0cd1109cd449744422b133929eea38a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
##############
Features flags
##############
Reference
---------
* v4 API:
+ :class:`gitlab.v4.objects.Feature`
+ :class:`gitlab.v4.objects.FeatureManager`
+ :attr:`gitlab.Gitlab.features`
* GitLab API: https://docs.gitlab.com/ce/api/features.html
Examples
--------
List features::
features = gl.features.list()
Create or set a feature::
feature = gl.features.set(feature_name, True)
feature = gl.features.set(feature_name, 30)
|