Skip to content

Commit b5737d4

Browse files
authored
correct Repository.stargazers_count return type to int (#1513)
It appears this was a type annotation typo, as the type of the stargazers_count property has been int for a long time.
1 parent 5a8bc20 commit b5737d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/Repository.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ class Repository(CompletableGithubObject):
474474
@property
475475
def ssh_url(self) -> str: ...
476476
@property
477-
def stargazers_count(self) -> str: ...
477+
def stargazers_count(self) -> int: ...
478478
@property
479479
def stargazers_url(self) -> str: ...
480480
@property

0 commit comments

Comments
 (0)