Improving instance __repr__ cases.
#715
lovelydinosaur
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Connection pools are currently missing a
__repr__.We should expose how many connections are open, and how many active/queued requests are being handled...
Response byte streams could include
__repr__info...These would be implemented on
HTTP11ConnectionByteStreamandHTTP2ConnectionByteStream. TheConnectionPoolByteStreamwould need__repr__to proxy onto those classes.Network streams could include
__rep__info...The
__repr__for request instances could be improved, instead of this...I'd rather see this...
If anyone is interested in taking these on I'd suggest opening an issue for one of the above cases, and we could work through from there.
Beta Was this translation helpful? Give feedback.
All reactions