Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in pyright

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

If there are multiple possible return values, should pyright automatically infer the right one, based on the passed arguments?

Why does all(isinstance(x, str) for x in value) not help Pyright infer Iterable[str] from object?

Can I have an optional parameter in dataclasses that is omitted when transformed to dict?

How to set python interpreter in neovim for python language server depending on pyenv / virtualenv

neovim pyenv pyright

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

No overloads for "update" match the provided arguments

How to type a Python function the same way as another function?

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

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

Python type-hinting: a Tkinter Event

rust-analyzer doesn't show errors and suggestions neovim

How do you ignore specific Pyright type checks by project, file, line?

python pyright

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

Polymorphism in Callablle under python type checking (Pylance)

Abbreviating dataclass decorator without losing IntelliSense

Why isn't dict[str, str] assignable to Mapping[str | int, str] (Mapping key type isn't covariant)?