summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/services.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-12-01 01:03:30 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-12-01 01:03:30 +0100
commit79e785e765f4219fe6001ef7044235b82c5e7754 (patch)
treeba7802c55cf233031b77e719cebb59639ba61f8b /gitlab/v4/objects/services.py
parentaf0cb4d18b8bfbc0624ea2771d73544dc1b24b54 (diff)
downloadgitlab-docs/sphinx-annotations.tar.gz
docs: use annotations for return typesdocs/sphinx-annotations
Diffstat (limited to 'gitlab/v4/objects/services.py')
-rw-r--r--gitlab/v4/objects/services.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/services.py b/gitlab/v4/objects/services.py
index 388b9c1..4aa87cc 100644
--- a/gitlab/v4/objects/services.py
+++ b/gitlab/v4/objects/services.py
@@ -268,7 +268,7 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM
**kwargs: Extra options to send to the server (e.g. sudo)
Returns:
- object: The generated RESTObject.
+ The generated RESTObject.
Raises:
GitlabAuthenticationError: If authentication is not correct
@@ -292,7 +292,7 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM
**kwargs: Extra options to send to the server (e.g. sudo)
Returns:
- dict: The new object data (*not* a RESTObject)
+ The new object data (*not* a RESTObject)
Raises:
GitlabAuthenticationError: If authentication is not correct
@@ -308,6 +308,6 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM
"""List the services known by python-gitlab.
Returns:
- list: The list of service code names.
+ The list of service code names.
"""
return list(self._service_attrs.keys())