Overriding `__dir__` and returning the `dir(..)` of the items it exposes
is however quite easy.
--
Ticket URL: <https://code.djangoproject.com/ticket/34795>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => wontfix
Comment:
Hello, thank you for your ticket.
I don't see much value in providing this vs the potential side effects of
calling `dir` on the proxied connection.
If you disagree, the recommended path forward in cases like this is to
first propose and discuss the idea with the community and gain consensus.
To do that, please start a new conversation on the
[https://forum.djangoproject.com/c/internals/5 Django Forum], where you'll
reach a wider audience and likely get richer feedback.
I'll close the ticket for now, but once that there is a community
agreement for the feature request, you are welcome to come back to the
ticket and point to the forum topic, so we can then re-open it. For more
details, please see
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features the documented guidelines for requesting
features].
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/34795#comment:1>
* type: Uncategorized => New feature
* easy: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34795#comment:2>