Skip to content

proxies_to_dispatchers -> get_proxy_map - #733

Merged
lovelydinosaur merged 1 commit into
masterfrom
get-proxy-map
Jan 7, 2020
Merged

lovelydinosaur merged 1 commit into
masterfrom
get-proxy-map

Conversation

@lovelydinosaur

Copy link
Copy Markdown
Member

Switch proxies_to_dispatches to get_proxy_map.

This style means that we end up with a map of {key: Proxy()}, which is sync/async compatible,
so get_proxy_map is shared across both implementations, where proxies_to_dispatchers could not be.

Should mean that addressing any thing else demo'ed by #716 can be a single fairly clean PR for review.

@lovelydinosaur lovelydinosaur added the refactor Issues and PRs related to code refactoring label Jan 7, 2020
@lovelydinosaur lovelydinosaur added this to the 0.11.0 milestone Jan 7, 2020

@florimondmanca florimondmanca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

馃憤

@lovelydinosaur
lovelydinosaur merged commit c842c8f into master Jan 7, 2020
@lovelydinosaur
lovelydinosaur deleted the get-proxy-map branch January 7, 2020 13:37
Kludex referenced this pull request in pydantic/httpx2 May 11, 2026
* Refactor HTTP/2 stream events

* Refactor HTTP/2 stream events

* Graceful handling of HTTP/2 GoAway frames

* Add to CHANGELOG

* Remove unneccessary getattr

* Conditional fix

* Conditional fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Issues and PRs related to code refactoring

Development

Successfully merging this pull request may close these issues.

2 participants