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

Keep clients in sync #3042

Merged
merged 3 commits into from Jan 8, 2024
Merged

Conversation

karpetrosyan
Copy link
Member

@karpetrosyan karpetrosyan commented Jan 5, 2024

Except for the async/await syntax, AsyncClient and Client are supposed to be the same.

I isolated them into separate files and used git diff --no-index --word-diff asyncclient.py syncclient.py to find and fix differences.

httpx/_client.py Outdated Show resolved Hide resolved
httpx/_client.py Outdated Show resolved Hide resolved
@tomchristie
Copy link
Member

neat!

@tomchristie tomchristie added the refactor Issues and PRs related to code refactoring label Jan 8, 2024
@tomchristie
Copy link
Member

(ready to merge. reminder to team, we're okay without a CHANGELOG.md entry on refactorings that don't represent a change in user-facing behavior.)

@karpetrosyan karpetrosyan merged commit ca51b45 into encode:master Jan 8, 2024
5 checks passed
This was referenced Feb 26, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants