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
Upload of Generic Package assumes "message" in server's response #2557
Comments
Looks like the API has changed since python-gitlab implemented support for this: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html |
Agreed, a bit strange but it depends on the Probably indeed best to expose whatever the server responds with (maybe with just |
Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: #2557
Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: #2557
Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: #2557
Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: #2557
Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: #2557
Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: #2557
Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: #2557
Description of the problem, including code/CLI snippet
Crashes with:
Expected Behavior
Return the JSON from GitLab either instead of this response, or as a
server_data
key in this response.Actual Behavior
KeyError: 'message'
Specifications
Suggested diff something like:
The text was updated successfully, but these errors were encountered: