Skip to content

Type error on invalid url type - #1259

Merged
florimondmanca merged 3 commits into
encode:masterfrom
wozniakty:type-error-on-invalid-url-type
Sep 4, 2020
Merged

Type error on invalid url type#1259
florimondmanca merged 3 commits into
encode:masterfrom
wozniakty:type-error-on-invalid-url-type

Conversation

@wozniakty

Copy link
Copy Markdown
Contributor

Closes #1258

Note: first contribution, so let me know if I'm missing anything

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

Neat little contribution — definitely see the point in preventing users from using other types named URL from related libraries.

A nit, but approving in advance…

Comment threadhttpx/_models.py Outdated
@wozniakty
wozniaktyforce-pushed the type-error-on-invalid-url-type branch from 6c993b4 to 62d08dfCompareSeptember 4, 2020 21:07
@wozniakty
wozniaktyforce-pushed the type-error-on-invalid-url-type branch from 62d08df to eac4390CompareSeptember 4, 2020 21:10

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

Thank you!

@florimondmanca
florimondmanca merged commit 42c6686 into encode:masterSep 4, 2020
@lovelydinosaurlovelydinosaur mentioned this pull request Sep 21, 2020
4 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Confusing error messages when passing in the wrong URL type

2 participants

@wozniakty@florimondmanca