From a5a48ad08577be70c6ca511d3b4803624e5c2043 Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Sun, 7 Feb 2021 00:29:59 +0100 Subject: refactor(v4): split objects and managers per API resource --- gitlab/v4/objects/namespaces.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gitlab/v4/objects/namespaces.py (limited to 'gitlab/v4/objects/namespaces.py') diff --git a/gitlab/v4/objects/namespaces.py b/gitlab/v4/objects/namespaces.py new file mode 100644 index 0000000..7e66a39 --- /dev/null +++ b/gitlab/v4/objects/namespaces.py @@ -0,0 +1,12 @@ +from gitlab.base import * # noqa +from gitlab.mixins import * # noqa + + +class Namespace(RESTObject): + pass + + +class NamespaceManager(RetrieveMixin, RESTManager): + _path = "/namespaces" + _obj_cls = Namespace + _list_filters = ("search",) -- cgit v1.2.1