Skip to content

Commit acabf63

Browse files
docs: correct documented return type
repository_archive() returns 'bytes' not 'str' https://docs.gitlab.com/ee/api/repositories.html#get-file-archive Fixes: #1584
1 parent bdb6cb9 commit acabf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/repositories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def repository_archive(
180180
GitlabListError: If the server failed to perform the request
181181
182182
Returns:
183-
str: The binary data of the archive
183+
bytes: The binary data of the archive
184184
"""
185185
path = "/projects/%s/repository/archive" % self.get_id()
186186
query_data = {}

0 commit comments

Comments
 (0)