diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-24 01:36:48 +0100 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-24 01:36:48 +0100 |
commit | 81a392ca6e9b44444c0f1287139abe788d50119d (patch) | |
tree | 97e0f03be6f8819cb9b8a5dd0d46432ff6dfc5a4 /gitlab/v4/objects/services.py | |
parent | 7ba5995ed472997e6bf98e8ae58107af307a5615 (diff) | |
download | gitlab-chore/sphinx-annotations.tar.gz |
chore: deduplicate type annotations in docschore/sphinx-annotations
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()) |