#35154: QuerySet implements `contains` but not `__contains__`
-------------------------------------+-------------------------------------
     Reporter:  fidoriel             |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  5.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  queryset contains    |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Anders Kaseorg):

 * resolution:  wontfix =>
 * status:  closed => new

Comment:

 The type annotation use case presented in comment:3 didn’t come up in
 previous discussion and cannot be satisfied by the addition of
 `.contains()` rather than `.__contains__()`. This argument seems
 compelling, so I hope I’m not overstepping by reopening for further
 consideration.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35154#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018eea5bc8ba-1ae5a1db-9382-46e6-9e62-e24d0d26311c-000000%40eu-central-1.amazonses.com.

Reply via email to