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

Commit33fbc14

Browse files
AdrianDCJohnVillalovos
authored andcommitted
fix(projects): fix 'import_project' file argument type for typings
Signed-off-by: Adrian DC <radian.dc@gmail.com>
1 parent12d195a commit33fbc14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎gitlab/v4/objects/projects.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
https://docs.gitlab.com/ee/api/projects.html
44
"""
55

6+
importio
67
fromtypingimport (
78
Any,
89
Callable,
@@ -786,7 +787,7 @@ def get(self, id: Union[str, int], lazy: bool = False, **kwargs: Any) -> Project
786787
@exc.on_http_error(exc.GitlabImportError)
787788
defimport_project(
788789
self,
789-
file:str,
790+
file:io.BufferedReader,
790791
path:str,
791792
name:Optional[str]=None,
792793
namespace:Optional[str]=None,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp