You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError: 'tuple' object has no attribute 'url' #2432
I'm going to close this off for now since strictly speaking it's a misusage of the package, rather than a bug.
But it is a useful indicator. A UX improvement here would be to raise a TypeError instead.
I'm going to close this off for now since strictly speaking it's a misusage of the package, rather than a bug. But it is a useful indicator. A UX improvement here would be to raise a TypeError instead.
Activity
lovelydinosaur commentedon Nov 8, 2022
You would see this exception if you specified the
proxies=...argument as a tuple, rather than as a dictionary.I'm going to close this off for now since strictly speaking it's a misusage of the package, rather than a bug.
But it is a useful indicator. A UX improvement here would be to raise a
TypeErrorinstead.Related #2404, #2406.
Useful resource here: HTTPX Proxy docs
FuckingToasters commentedon Nov 12, 2022
The thing is that i don't have made a tuple, it's a normal dict: