mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Retrieve rate limiting information
This commit is contained in:
@@ -6,10 +6,14 @@ import Gist
|
||||
import PaginatedList
|
||||
from GithubObject import LazyCompletion, ImmediateCompletion
|
||||
|
||||
class Github:
|
||||
class Github( object ):
|
||||
def __init__( self, login, password ):
|
||||
self.__requester = Requester( login, password )
|
||||
|
||||
@property
|
||||
def rate_limiting( self ):
|
||||
return self.__requester.rate_limiting
|
||||
|
||||
def get_user( self, login = None ):
|
||||
if login is None:
|
||||
attributes = {
|
||||
|
||||
Reference in New Issue
Block a user