diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-12-01 01:03:30 +0100 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-12-01 01:03:30 +0100 |
commit | 79e785e765f4219fe6001ef7044235b82c5e7754 (patch) | |
tree | ba7802c55cf233031b77e719cebb59639ba61f8b /gitlab/v4/objects/packages.py | |
parent | af0cb4d18b8bfbc0624ea2771d73544dc1b24b54 (diff) | |
download | gitlab-docs/sphinx-annotations.tar.gz |
docs: use annotations for return typesdocs/sphinx-annotations
Diffstat (limited to 'gitlab/v4/objects/packages.py')
-rw-r--r-- | gitlab/v4/objects/packages.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/packages.py b/gitlab/v4/objects/packages.py index 600a7a6..2313f3e 100644 --- a/gitlab/v4/objects/packages.py +++ b/gitlab/v4/objects/packages.py @@ -65,7 +65,7 @@ class GenericPackageManager(RESTManager): GitlabUploadError: If ``filepath`` cannot be read Returns: - GenericPackage: An object storing the metadata of the uploaded package. + An object storing the metadata of the uploaded package. https://docs.gitlab.com/ee/user/packages/generic_packages/ """ @@ -126,7 +126,7 @@ class GenericPackageManager(RESTManager): GitlabGetError: If the server failed to perform the request Returns: - str: The package content if streamed is False, None otherwise + The package content if streamed is False, None otherwise """ path = f"{self._computed_path}/{package_name}/{package_version}/{file_name}" result = self.gitlab.http_get(path, streamed=streamed, raw=True, **kwargs) |