Skip to content

Commit 1ca66e8

Browse files
committed
added type hint
1 parent c8ca641 commit 1ca66e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scratchattach/site/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def projects(self, *, limit=40, offset=0):
274274
p["author"] = {"username":self.username}
275275
return commons.parse_object_list(_projects, project.Project, self._session)
276276

277-
def loves(self, *, limit=40, offset=0, get_full_project: bool=False) -> [project.Project]:
277+
def loves(self, *, limit=40, offset=0, get_full_project: bool = False) -> list[project.Project]:
278278
"""
279279
Returns:
280280
list<projects.projects.Project>: The user's loved projects

0 commit comments

Comments
 (0)