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

Use named keyword arguments on httpcore streams #1121

Closed
wants to merge 3 commits into from

Conversation

tomchristie
Copy link
Member

Use explicitly named keyword arguments rather than unnamed args, in order to allow us to issue an httpcore 0.10 release that includes encode/httpcore#127, without breaking anything in httpx.

A later follow up can use content=... to tidy things up here.

@tomchristie tomchristie added the refactor Issues and PRs related to code refactoring label Aug 2, 2020
@tomchristie tomchristie added this to the v0.14 milestone Aug 2, 2020
@tomchristie tomchristie mentioned this pull request Aug 2, 2020
@tomchristie
Copy link
Member Author

Closing in favour of switching to the concrete ByteStream implementations hopefully coming in encode/httpcore#133

Resolved this side in #1126 eg see https://github.com/encode/httpx/pull/1126/files#diff-0746bb9fa941d952b3980a91e14f9d7dR79

@tomchristie tomchristie closed this Aug 5, 2020
@tomchristie tomchristie deleted the use-named-kwargs-on-httpcore-streams branch August 5, 2020 11:48
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.

1 participant