Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitacabf63

Browse files
docs: correct documented return type
repository_archive() returns 'bytes' not 'str'https://docs.gitlab.com/ee/api/repositories.html#get-file-archiveFixes:#1584
1 parentbdb6cb9 commitacabf63

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)

[8]ページ先頭

©2009-2025 Movatter.jp