#31223: Add __class_getitem__ to support runtime type parameters for some 
classes
-------------------------------------+-------------------------------------
     Reporter:  Sobolev Nikita       |                    Owner:  Sobolev
                                     |  Nikita
         Type:  New feature          |                   Status:  closed
    Component:  Utilities            |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  types, mypy,         |             Triage Stage:  Ready for
  django-stubs                       |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Malo):

 Hello,
 I submitted a PR to add `__class_getitem__` to Model, as it has been done
 for ForeignKey, Manager and QuerySet in the two previous PRs
 https://github.com/django/django/pull/19390
-- 
Ticket URL: <https://code.djangoproject.com/ticket/31223#comment:11>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070196442e5f08-d7902516-9140-4466-b08e-34260e8f46b0-000000%40eu-central-1.amazonses.com.

Reply via email to