Add get_timeline() to Issue's type stubs (#1663)

Add get_timeline() to Issue's type stubs
This commit is contained in:
Neil Williams
2020-08-28 14:20:12 +10:00
committed by GitHub
parent 743f5a58b0
commit 6bc9ecc8c8
+2
View File
@@ -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: ...