Skip to content

Move types definitions to a dedicated module - #902

Merged
florimondmanca merged 1 commit into
masterfrom
types-module
Apr 15, 2020
Merged

Move types definitions to a dedicated module#902
florimondmanca merged 1 commit into
masterfrom
types-module

Conversation

@florimondmanca

@florimondmancaflorimondmanca commented Apr 10, 2020

Copy link
Copy Markdown
Contributor

Refs https://github.com/encode/httpx/issues/789#issuecomment-578143085

Move all type definitions and aliases to a centralized _types module, instead of them being scattered across the code base. In line with what we do in HTTPCore. :-)

A simpler version of #881, branched off from master, and without any typing changes - only import changes.

@florimondmancaflorimondmanca added the refactor Issues and PRs related to code refactoring label Apr 10, 2020
@florimondmanca
florimondmanca requested a review from a teamApril 10, 2020 19:04
@florimondmanca

Copy link
Copy Markdown
ContributorAuthor

@yeraydiazdiaz Would you like to give this one some eyes? This is a bit of parallel work than what's been going on in HTTPCore. :-)

@yeraydiazdiazyeraydiazdiaz 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.

LGTM 👍

Sorry for the delay, this one slipped my radar 😄

@florimondmanca

Copy link
Copy Markdown
ContributorAuthor

No worries, thanks!

@florimondmanca
florimondmanca merged commit 4c01117 into masterApr 15, 2020
@florimondmanca
florimondmanca deleted the types-module branch April 15, 2020 11:12
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.

2 participants

@florimondmanca@yeraydiazdiaz