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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy