Skip to content

Use named keyword arguments on httpcore streams - #1121

Closed
lovelydinosaur wants to merge 3 commits into
masterfrom
use-named-kwargs-on-httpcore-streams
Closed

Use named keyword arguments on httpcore streams#1121
lovelydinosaur wants to merge 3 commits into
masterfrom
use-named-kwargs-on-httpcore-streams

Conversation

@lovelydinosaur

Copy link
Copy Markdown
Contributor

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.

@lovelydinosaurlovelydinosaur added the refactor Issues and PRs related to code refactoring label Aug 2, 2020
@lovelydinosaurlovelydinosaur added this to the v0.14 milestone Aug 2, 2020
@lovelydinosaurlovelydinosaur mentioned this pull request Aug 2, 2020
@lovelydinosaur

Copy link
Copy Markdown
ContributorAuthor

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

@lovelydinosaur
lovelydinosaur deleted the use-named-kwargs-on-httpcore-streams branch August 5, 2020 11:48
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactorIssues and PRs related to code refactoring

Development

Successfully merging this pull request may close these issues.

1 participant

@lovelydinosaur