Search code examples
Why can't Pylance fully infer the return type of this function?...

pythonpython-typingpyright

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

pythonpython-typingpyright

Read More
What is the correct way to please the typechecker for a '(bytes | str) -> str' function?...

pythonvisual-studio-codepython-typingpython-3.11pyright

Read More
Can the * (unpacking) operator be typed in Python? Or any other variadic args function such that all...

pythonpython-typingmypypyright

Read More
Why there is an unbound variable error warning by pyright in this simple python function...

pythonwarningsstatic-analysispyrightunbound

Read More
How do I get Pylance to ignore the possibility of None?...

pythonpython-typingpyright

Read More
Pylance reports "Code is unreachable", when my test shows otherwise...

pythonpyright

Read More
Why are generic arguments described by `T@function_name` by pyright?...

pythonpython-typingpyright

Read More
Properly re-expose submodule (or is this a bug in pylance)...

pythonpackagingpyright

Read More
No overloads for "update" match the provided arguments...

pythonfastapipython-typingpyright

Read More
How do I initialize empty variable for boto3 client...

pythonboto3python-typingmypypyright

Read More
How to ignore pyright linter hints...

pythonpyright

Read More
How to have Pyright infer type from an enum check?...

pythonenumspython-typingpyright

Read More
Type hints lost when a decorator is wrapped as a classmethod?...

pythonpython-typingtype-parameterpyrightpep-695

Read More
pyright prioritizes the number of passed arguments over their type when using @overload...

pythonpython-typingpyright

Read More
How to annotate type of Manager().from_queryset()?...

pythondjangodjango-ormpython-typingpyright

Read More
Python (mypy) incompatible types when working with typeVars and a callable argument...

pythonpython-typingmypypyright

Read More
Neovim and Pyright: limited auto-completion of Python code...

pythonneovimpyright

Read More
"json_schema_extra" and Pylance/Pyright issues...

pythonpython-typingpydanticpyright

Read More
Typing a Python dictionary as Dict[key[T], value[K]] where T and K are restricted...

pythonmypypython-typingpyright

Read More
Make class attribute private outside API for users, but public inside API for developers...

pythonpython-typingmypypylancepyright

Read More
Python typing annotation for an object built with a class method...

pythonpython-typingpyright

Read More
Type hinting an object created by typing.Literal[]...

pythonpython-typingpyright

Read More
mypy and variance on function returning a list of subclasses based on input parameter...

pythonpython-typingmypypyright

Read More
How can I dynamically define a function signature for pylance etc.?...

pythonpython-typingpyright

Read More
Can Pyright/MyPy deduce the type of an entry of an ndarray?...

pythonnumpypython-typingmypypyright

Read More
If there are multiple possible return values, should pyright automatically infer the right one, base...

pythonpython-typingpyright

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
BackNext