File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 22
33__all__ = ["FullIssue" ]
44
5-
65from datetime import datetime
6+ from typing import TYPE_CHECKING
77
88from .base import Base , field
99from .comment import Comment
1616from .transitions import Transitions
1717from .user import User
1818
19+ if TYPE_CHECKING :
20+ from .issue_link import IssueLink
21+
1922
2023class FullIssue (Base , kw_only = True ):
2124 url : str = field (name = "self" )
@@ -72,3 +75,7 @@ async def get_comments(self) -> list[Comment]:
7275 async def post_comment (self , text : str , ** kwargs ) -> Comment :
7376 """Post comment for self."""
7477 return await self ._tracker .post_comment (self .id , text = text , ** kwargs )
78+
79+ async def get_links (self ) -> list [IssueLink ]:
80+ """Get issue links."""
81+ return await self ._tracker .get_issue_links (self .id )
You can’t perform that action at this time.
0 commit comments