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

Commit62fa271

Browse files
JohnVillalovosnejch
authored andcommitted
chore: add type info for ProjectFile.content
Closes:#2821
1 parentb187dea commit62fa271

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
@@ -40,6 +40,7 @@ class ProjectFile(SaveMixin, ObjectDeleteMixin, RESTObject):
4040
commit_message:str
4141
file_path:str
4242
manager:"ProjectFileManager"
43+
content:str# since the `decode()` method uses `self.content`
4344

4445
defdecode(self)->bytes:
4546
"""Returns the decoded content of the file.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp