Skip to content
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

fix: use dict for http request #156

Merged
merged 4 commits into from Jan 14, 2021
Merged

fix: use dict for http request #156

merged 4 commits into from Jan 14, 2021

Conversation

daniel-sanche
Copy link
Contributor

It was recently reported that the new http request inference is throwing exceptions on at least AppEngine. This PR changes the http_request object to use a standard dict instead of the HttpRequest type, as that seems to be expected by some of the parsers involved.

More tests in this area are needed going forward.

Fixes #155

@daniel-sanche daniel-sanche requested review from a team as code owners January 14, 2021 18:09
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 14, 2021
@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/python-logging API. label Jan 14, 2021
@daniel-sanche daniel-sanche self-assigned this Jan 14, 2021
@daniel-sanche daniel-sanche merged commit dc26668 into master Jan 14, 2021
@daniel-sanche daniel-sanche deleted the fix-http-request branch January 14, 2021 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/python-logging API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to parse httpRequest field: 'HttpRequest' object is not iterable.
3 participants