summaryrefslogtreecommitdiff
path: root/docs/gl_objects/namespaces.rst
blob: 1819180b932db5701356c9b773197857e7b66bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
##########
Namespaces
##########

Use :class:`~gitlab.objects.Namespace` objects to manipulate namespaces. The
:attr:`gitlab.Gitlab.namespaces` manager objects provides helper functions.

Examples
========

List namespaces:

.. literalinclude:: namespaces.py
   :start-after: # list
   :end-before: # end list

Search namespaces:

.. literalinclude:: namespaces.py
   :start-after: # search
   :end-before: # end search