diff options
Diffstat (limited to 'gitlab/v4/objects/services.py')
-rw-r--r-- | gitlab/v4/objects/services.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gitlab/v4/objects/services.py b/gitlab/v4/objects/services.py index a62fdf0..93e1fae 100644 --- a/gitlab/v4/objects/services.py +++ b/gitlab/v4/objects/services.py @@ -262,13 +262,13 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM Args: id (int or str): ID of the object to retrieve - lazy (bool): If True, don't request the server, but create a + lazy: If True, don't request the server, but create a shallow object giving access to the managers. This is useful if you want to avoid useless calls to the API. **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 @@ -307,7 +307,7 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM def available(self, **kwargs: Any) -> List[str]: """List the services known by python-gitlab. - Returns: - list (str): The list of service code names. + Returns: + The list of service code names. """ return list(self._service_attrs.keys()) |