From 6bc9ecc8c849df4e45e60c1e6a5df8876180a20a Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Thu, 27 Aug 2020 21:20:12 -0700 Subject: [PATCH] Add get_timeline() to Issue's type stubs (#1663) Add get_timeline() to Issue's type stubs --- github/Issue.pyi | 2 ++ 1 file changed, 2 insertions(+) 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: ...