mirror of
https://github.com/kennethreitz/python-github3.git
synced 2026-06-05 23:10:17 +00:00
is_authenticated
This commit is contained in:
@@ -30,6 +30,7 @@ def basic_auth(username, password):
|
||||
return args, kwargs
|
||||
|
||||
gh = Github()
|
||||
gh.is_authenticated = True
|
||||
gh._requests_pre_hook = enable_auth
|
||||
|
||||
return gh
|
||||
Reference in New Issue
Block a user