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

httpx: update type hints to RequestInfo/ResponseInfo #3105

Merged
merged 8 commits into from
Dec 17, 2024

Conversation

Kludex
Copy link
Contributor

@Kludex Kludex commented Dec 13, 2024

Although this is type related, it's specific to the issue above.

I've also created #3098 to add more type hints to this module. I'm happy to rebase there in case this gets accepted.

@Kludex Kludex requested a review from a team as a code owner December 13, 2024 14:37
@Kludex Kludex changed the title Use the right type hints on httpx RequestInfo/ResponseInfo httpx: update type hints to RequestInfo/ResponseInfo Dec 13, 2024
CHANGELOG.md Outdated
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- `opentelemetry-instrumentation-httpx` Update `RequestInfo`/`ResponseInfo` type hints
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `opentelemetry-instrumentation-httpx` Update `RequestInfo`/`ResponseInfo` type hints
### Fixed
- `opentelemetry-instrumentation-httpx` Fix `RequestInfo`/`ResponseInfo` type hints

Kludex and others added 2 commits December 17, 2024 15:13
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
@lzchen lzchen merged commit d155540 into open-telemetry:main Dec 17, 2024
573 checks passed
@Kludex Kludex deleted the update-httpx-type-hints branch January 6, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTPX: type mismatch in values passed to the request/response hooks
3 participants