Skip to content

Commit 62fa271

Browse files
JohnVillalovosnejch
authored andcommitted
chore: add type info for ProjectFile.content
Closes: #2821
1 parent b187dea commit 62fa271

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
def decode(self) -> bytes:
4546
"""Returns the decoded content of the file.

0 commit comments

Comments
 (0)