Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

fix: use dict for http request#156

Merged
daniel-sanche merged 4 commits into
masterfrom
fix-http-request
Jan 14, 2021
Merged

fix: use dict for http request#156
daniel-sanche merged 4 commits into
masterfrom
fix-http-request

Conversation

@daniel-sanche
Copy link
Copy Markdown
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 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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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