diff options
| author | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-24 20:52:28 +0100 |
|---|---|---|
| committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-28 18:31:59 +0100 |
| commit | b7dde0d7aac8dbaa4f47f9bfb03fdcf1f0b01c41 (patch) | |
| tree | ddf38afd58c7f1dcd538667dd952122448289bb6 /gitlab/v4/objects/services.py | |
| parent | bd366ab9e4b552fb29f7a41564cc180a659bba2f (diff) | |
| download | gitlab-b7dde0d7aac8dbaa4f47f9bfb03fdcf1f0b01c41.tar.gz | |
docs: only use type annotations for documentation
Diffstat (limited to 'gitlab/v4/objects/services.py')
| -rw-r--r-- | gitlab/v4/objects/services.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/services.py b/gitlab/v4/objects/services.py index a62fdf0..388b9c1 100644 --- a/gitlab/v4/objects/services.py +++ b/gitlab/v4/objects/services.py @@ -261,8 +261,8 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM """Retrieve a single object. Args: - id (int or str): ID of the object to retrieve - lazy (bool): If True, don't request the server, but create a + id: ID of the object to retrieve + 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) @@ -308,6 +308,6 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM """List the services known by python-gitlab. Returns: - list (str): The list of service code names. + list: The list of service code names. """ return list(self._service_attrs.keys()) |
