-
Notifications
You must be signed in to change notification settings - Fork 66
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
UnicodeDecodeError on repos.download_tarball_archive #157
Comments
So to trick api.repos.download_tarball_archive.route_ps.append("archive_format") then call with any value api.repos.download_tarball_archive(..., archive_format="1") Until there's an official fix, this works for me. |
@jph00 I would like to tackle this issue and solve it for all related github endpoints. I understand that the metadata.py is generated using the github openapi spec, and contains all the endpoints. I have checked the github openapi spec, but could not find anything that will help to automatically identify that an endpoint will return a non-json payload. Do you have any suggestions of solving this other than hard coding the endpoints that will return a non-json payload and setting the |
Thanks for checking. No I'm not aware of any special approach. Just making
a list of the route names seems fine, except that it's inconvenient to
actually create that list.
… Message ID: ***@***.***>
|
Same error on
repos.download_tarball_archive
andrepos.download_tarball_archive
Possibly related to #22
packages installed
steps to reproduce
full logs
The text was updated successfully, but these errors were encountered: