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

Transport API #963

Merged
merged 16 commits into from
May 21, 2020
Merged

Transport API #963

merged 16 commits into from
May 21, 2020

Conversation

yeraydiazdiaz
Copy link
Contributor

@yeraydiazdiaz yeraydiazdiaz commented May 20, 2020

Closes #768

I did some dispatch > transport renaming but did not rename the _dispatch package and the *Dispatch classes in it. I considered renaming the package to _transports and all classes to *Transport with *Dispatch aliases but thought it might be better to check first.

Edit: Pipelines failed for some reason so I went for it while I gave GH actions some time to sort themselves out.

@yeraydiazdiaz yeraydiazdiaz requested a review from a team May 20, 2020 14:39
Also rename *Dispatch classes to *Transport and added aliases
@yeraydiazdiaz
Copy link
Contributor Author

Hmmm, not sure what's going on here, all checks are "cancelled" and there's no log at all so I guess I'll try again later 🤷‍♂️

Copy link
Member

@tomchristie tomchristie left a comment

Choose a reason for hiding this comment

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

Fab yup! A few notes. Looking great. 👍

httpx/__init__.py Outdated Show resolved Hide resolved
docs/advanced.md Outdated Show resolved Hide resolved
httpx/_client.py Outdated Show resolved Hide resolved
@tomchristie
Copy link
Member

Looks like a linter failure on import sorting... https://github.com/encode/httpx/pull/963/checks?check_run_id=693477366

docs/advanced.md Outdated Show resolved Hide resolved
httpx/_client.py Outdated Show resolved Hide resolved
Copy link
Member

@florimondmanca florimondmanca left a comment

Choose a reason for hiding this comment

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

Nice!

I assume the docs would need updating too - we're still using the Dispatch phrasing there as of the current state of this PR. Do we want to update it in this PR or as a follow-up?

docs/advanced.md Outdated Show resolved Hide resolved
docs/advanced.md Outdated Show resolved Hide resolved
httpx/_client.py Outdated Show resolved Hide resolved
httpx/_transports/wsgi.py Outdated Show resolved Hide resolved
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
@yeraydiazdiaz
Copy link
Contributor Author

I assume the docs would need updating too - we're still using the Dispatch phrasing there as of the current state of this PR. Do we want to update it in this PR or as a follow-up?

Probably best to change the docs now, there's quite a few code snippets using Dispatch as well.

docs/advanced.md Outdated Show resolved Hide resolved
Copy link
Member

@tomchristie tomchristie left a comment

Choose a reason for hiding this comment

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

I'm happy with this whenever you are! Fantastic bit of work and really keen to see this land!

@tomchristie
Copy link
Member

Great, once everyone's happy let's get this in as it is.

Couple of follow ups I can think of, which I'll open individual issues for.

@tomchristie tomchristie added this to the v0.13 milestone May 21, 2020
@yeraydiazdiaz yeraydiazdiaz merged commit d2816c9 into encode:master May 21, 2020
@yeraydiazdiaz yeraydiazdiaz deleted the transport-api branch May 21, 2020 11:22
@yeraydiazdiaz
Copy link
Contributor Author

Thanks all! 🎉

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.

Transport API
4 participants