From acabf63c821745bd7e43b7cd3d799547b65e9ed0 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 2 Sep 2021 07:42:02 -0700 Subject: docs: correct documented return type repository_archive() returns 'bytes' not 'str' https://docs.gitlab.com/ee/api/repositories.html#get-file-archive Fixes: #1584 --- gitlab/v4/objects/repositories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitlab') diff --git a/gitlab/v4/objects/repositories.py b/gitlab/v4/objects/repositories.py index 5a56a2d..de5f0d2 100644 --- a/gitlab/v4/objects/repositories.py +++ b/gitlab/v4/objects/repositories.py @@ -180,7 +180,7 @@ class RepositoryMixin: GitlabListError: If the server failed to perform the request Returns: - str: The binary data of the archive + bytes: The binary data of the archive """ path = "/projects/%s/repository/archive" % self.get_id() query_data = {} -- cgit v1.2.1