Search code examples
If there are multiple possible return values, should pyright automatically infer the right one, base...


pythonpython-typingpyright

Read More
Can I disable type errors from third-party packages in Pylance?...


pythonpython-typingpylancepyright

Read More
Why does Pylance not complain about missing members of a Protocol?...


pythonpython-typingpyright

Read More
Static type checking or IDE intelligence support for a numpy array/matrix shape possible?...


pythonnumpypython-typingmypypyright

Read More
Pyright can't see Poetry dependencies...


pythonpython-venvpython-poetrypyright

Read More
What is the proper way to type hint the return value of an @asynccontextmanager?...


pythonpython-asynciopython-typingcontextmanagerpyright

Read More
how to instantiate defaultdict to fulfill DefaultDict[int, DefaultDict[int, MyClass]] type annotatio...


pythonpython-typingpyright

Read More
Python TypeHint a function that returns different types based on input...


pythonpython-typingpyright

Read More
How to strongly type the "value" attribute to be str or a custom type?...


pythonenumspython-typingpyright

Read More
Pylance shows error when variable type changes...


pythonpython-typingpyright

Read More
Pyright Intellij plugin saves too quickly and causes refactoring...


pythonpycharmpyright

Read More
How do I get Pylance's type checking to work with this Pydantic example?...


pythonpython-typingpydanticpyright

Read More
Python Type Issue - Pylance - Cannot access member "..." for type "..." Member &...


pythonpython-typingpyright

Read More
Polymorphism in Callablle under python type checking (Pylance)...


pythonpython-typingpyright

Read More
Pylance (VS Code type checking) mistakes the count() infinite iterator as finite...


pythonpython-typingpyright

Read More
Is there a way to disable coc-pyright type annotations in vim?...


python-3.xvimubuntu-20.04vim-pluginpyright

Read More
Why does pyright strict mode not flag "for k, v in dict" without "items()" as an...


pythondictionarypython-typingpyright

Read More
How to assign a type hint from the return type hint of a function...


pythonpython-typingpyright

Read More
How to find type of a Python variable when hovering the mouse cursor over a variable in Visual Studi...


pythonvisual-studio-codepylancepyright

Read More
How to overload class member type depending on argument?...


pythonpython-typingpyright

Read More
Abbreviating dataclass decorator without losing IntelliSense...


pythonpython-typingpython-dataclassespyright

Read More
Enum @property method return type Self shows a Pylance error in Visual Studio Code...


python-3.xvisual-studio-codepyright

Read More
Explanation of reportAttributeAccessIssue of pylance...


pythonpython-typingpyright

Read More
Type Annotations and Docstrings for Decorator...


pythonpython-typingpython-decoratorspyright

Read More
How to infer the type of the first element in an iterable?...


pythonpython-typingmypypyright

Read More
Is it possible to have an inline-definition of a dataclass in Python?...


pythonpython-typingpython-dataclassespyright

Read More
If Union has UnionType, what's the UnionType equivalent of Literal?...


pythonpython-typingpyright

Read More
How can I to get subclass return types when calling functions defined on the base class?...


pythoninheritancepython-typingpyright

Read More
How to declare a Protocol with a field which supports both a simple type and property?...


pythonpython-typingmypypyright

Read More
How to make a dataclass-like decorator friendly for pylance?...


pythonpython-typingpyright

Read More
BackNext