-
-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
pyrightRelated to pyright type checkerRelated to pyright type checkerquestionFurther information is requestedFurther information is requested
Description
Hey, I'm not understanding which version of the stubs I need to install?
These are my installed modules per pip list.
django-stubs 4.2.7
django-stubs-ext 5.0.4
djangorestframework 3.14.0
Django 4.2.9
mypy 1.7.1
mypy-extensions 1.0.0If I'm understanding the docs right. then I am supposed to install the 1.7.0 version to match the mypy version I have?
Would the command look like this?
pip install djangorestframework-stubs==1.7.0
When I open my editor NeoVim with the virtual environment active I get this error message for this line of code.
from rest_framework import serializersDiagnostics:
1. Import "rest_framework" could not be resolved [reportMissingImports]
Hopefully someone can make sense of this and help me out :)
Cheers!
Metadata
Metadata
Assignees
Labels
pyrightRelated to pyright type checkerRelated to pyright type checkerquestionFurther information is requestedFurther information is requested