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
Set __module__ = 'httpx'
on everything we expose via the public API.
#1155
Conversation
Glad to see this was useful! And using locals is a neat way of doing it. Should a similar issue be opened in (Also apologies if I'm intrusive, not really sure what conversation should be on Gitter or here...) |
Yeah good call re. applying the same to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For what it's worth, it looks good to me! Having it on functions too is certainly good for consistency 👍
Set
__module__ = 'httpx'
on all our public API.Primarily useful for classes that haven't declared a
__repr__
method, but might also improve the output of other code-introspection tooling?Before:
After: