-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iterating through repo.get_tags() throws NoneType TypeError for repositories with lots of tags #278
Comments
Wow thanks for reporting that! I'll have a look in the coming days. |
The issue comes from the GitHub API (see the
I'll contact GitHub to see if they can fix it on their side. I'll also make a workaround in PyGithub. |
Work-around in aadc286 and https://pypi.python.org/pypi/PyGithub/1.25.2 Thanks for reporting! |
Response from Ivan Žužak (GitHub Support):
|
Great, thanks for the quick turnaround on this! |
I suspect this is related to the cause of PyGithub#278 (comment) in that the response from the github API contains null for some elements.
For repositories with lots of tags (git, linux, etc.), iterating through repo.get_tags() throws a NoneType TypeError. Please see the following for the steps to recreate:
The text was updated successfully, but these errors were encountered: