djangorestframework-types icon indicating copy to clipboard operation
djangorestframework-types copied to clipboard

GenericAPIView type stub lacks get_queryset method

Open sminnee opened this issue 3 years ago • 1 comments

I'm running djangorestframework 3.13.1 and djangorestframework-types 0.6.0

GenericAPIView defines a get_queryset(self) method.

The type stub does not.

It looks like djangorestframework-stubs package has added this - https://github.com/typeddjango/djangorestframework-stubs/blob/master/rest_framework-stubs/generics.pyi#L20 - is it worth pulling upstream changes into this package?

sminnee avatar Feb 19 '22 04:02 sminnee

This was resolved in version 0.7.1 by @knyghty (fancy seeing you here), but somehow a new 0.8.0 (see #31) seems to have been published since then that isn't in this repository that reverted that fix again

(screenshot from the downloaded version from pypi)

image

dolfandringa avatar Jul 21 '23 07:07 dolfandringa