blob: 5f0e92f41258922c82a2b294810eaf6fbf06701c (
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
27
28
29
30
31
32
33
34
35
|
########
Settings
########
Reference
---------
* v4 API:
+ :class:`gitlab.v4.objects.ApplicationSettings`
+ :class:`gitlab.v4.objects.ApplicationSettingsManager`
+ :attr:`gitlab.Gitlab.settings`
* v3 API:
+ :class:`gitlab.v3.objects.ApplicationSettings`
+ :class:`gitlab.v3.objects.ApplicationSettingsManager`
+ :attr:`gitlab.Gitlab.settings`
* GitLab API: https://docs.gitlab.com/ce/api/commits.html
Examples
--------
Get the settings:
.. literalinclude:: settings.py
:start-after: # get
:end-before: # end get
Update the settings:
.. literalinclude:: settings.py
:start-after: # update
:end-before: # end update
|