Override Pycharm typeshed

Cached_property has been added to functools since python3.8, but it didn't appear as a candidate in PyCharm.

image.png

PyCharm has a copy of typeshed because it's old

To reflect the latest typeshed, clone typeshed to the project directory and specify it as Source Root. image.png

image.png

OK

reference)

Recommended Posts

Override Pycharm typeshed
PyCharm begins
pycharm shortcut
Pycharm memo
pycharm shortcut