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

Commit190ec89

Browse files
nejchmax-wittig
authored andcommitted
fix(files): correctly raise GitlabGetError in get method
1 parent64eed5d commit190ec89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎gitlab/v4/objects/files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ class ProjectFileManager(CreateMixin, UpdateMixin, DeleteMixin, RESTManager):
112112
@cli.register_custom_action(
113113
cls_names="ProjectFileManager",required=("file_path","ref")
114114
)
115+
@exc.on_http_error(exc.GitlabGetError)
115116
defget(self,file_path:str,ref:str,**kwargs:Any)->ProjectFile:
116117
"""Retrieve a single file.
117118

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp