Commit 62fa2719 authored by John L. Villalovos's avatar John L. Villalovos Committed by Nejc Habjan
Browse files

chore: add type info for ProjectFile.content

Closes: #2821
parent b187dead
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ class ProjectFile(SaveMixin, ObjectDeleteMixin, RESTObject):
    commit_message: str
    file_path: str
    manager: "ProjectFileManager"
    content: str  # since the `decode()` method uses `self.content`

    def decode(self) -> bytes:
        """Returns the decoded content of the file.