mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Added a method for getting a user by their id (#1691)
* Added a method for getting a user by their id * Added get_user_by_id to MainClass stubs Fixes #1615
This commit is contained in:
@@ -83,6 +83,7 @@ class Github:
|
||||
def get_user(self, login: _NotSetType = ...) -> AuthenticatedUser: ...
|
||||
@overload
|
||||
def get_user(self, login: str) -> NamedUser: ...
|
||||
def get_user_by_id(self, user_id: int) -> NamedUser: ...
|
||||
def get_users(
|
||||
self, since: Union[int, _NotSetType] = ...
|
||||
) -> PaginatedList[NamedUser]: ...
|
||||
|
||||
Reference in New Issue
Block a user