diff --git a/github/Issue.pyi b/github/Issue.pyi index 41eba7a1..b1290df6 100644 --- a/github/Issue.pyi +++ b/github/Issue.pyi @@ -12,6 +12,7 @@ from github.PaginatedList import PaginatedList from github.PullRequest import PullRequest from github.Reaction import Reaction from github.Repository import Repository +from github.TimelineEvent import TimelineEvent class Issue(CompletableGithubObject): def __repr__(self) -> str: ... @@ -40,6 +41,7 @@ class Issue(CompletableGithubObject): def comments_url(self) -> str: ... def create_comment(self, body: str) -> IssueComment: ... def create_reaction(self, reaction_type: str) -> Reaction: ... + def get_timeline(self) -> PaginatedList[TimelineEvent]: ... @property def created_at(self) -> datetime: ... def delete_labels(self) -> None: ...