DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
http://docs.basedpyright.com/
Other
601 stars 12 forks source link

`deprecated` decorator does not work with `__getattr__` #446

Open DetachHead opened 1 week ago

DetachHead commented 1 week ago
from typing_extensions import deprecated

class Foo:
    @deprecated("asdf")
    def __getattr__(self, value: str): ...

Foo().asdfasdf # no error