You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "test.py", line 3, in <module>
g = Github(os.environ["username"] ,os.environ["pw"])
File "/usr/lib/python3.6/os.py", line 669, in __getitem__
raise KeyError(key) from None
KeyError: 'username
and when i try to just basic login:
Traceback (most recent call last):
File "test.py", line 5, in <module>
myfork = github_user.create_fork("https://github.com/lyk2017-django/YilanTerbiyecisi")
File "/usr/lib/python3.6/site-packages/github/AuthenticatedUser.py", line 452, in create_fork
assert isinstance(repo, github.Repository.Repository), repo
AssertionError: https://github.com/lyk2017-django/YilanTerbiyecisi
I couldn't find how to fork a repo, according to github APIs page <POST /repos/:owner/:repo/forks> can be used to do a fork,
thanks,
The text was updated successfully, but these errors were encountered: