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/jobs.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/jobs.py')
-rw-r--r-- | gitlab/v4/objects/jobs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/jobs.py b/gitlab/v4/objects/jobs.py index 426343d..be06f86 100644 --- a/gitlab/v4/objects/jobs.py +++ b/gitlab/v4/objects/jobs.py @@ -136,7 +136,7 @@ class ProjectJob(RefreshMixin, RESTObject): GitlabGetError: If the artifacts could not be retrieved Returns: - bytes: The artifacts if `streamed` is False, None otherwise. + The artifacts if `streamed` is False, None otherwise. """ path = f"{self.manager.path}/{self.get_id()}/artifacts" result = self.manager.gitlab.http_get( @@ -173,7 +173,7 @@ class ProjectJob(RefreshMixin, RESTObject): GitlabGetError: If the artifacts could not be retrieved Returns: - bytes: The artifacts if `streamed` is False, None otherwise. + The artifacts if `streamed` is False, None otherwise. """ path = f"{self.manager.path}/{self.get_id()}/artifacts/{path}" result = self.manager.gitlab.http_get( @@ -208,7 +208,7 @@ class ProjectJob(RefreshMixin, RESTObject): GitlabGetError: If the artifacts could not be retrieved Returns: - str: The trace + The trace """ path = f"{self.manager.path}/{self.get_id()}/trace" result = self.manager.gitlab.http_get( |