microsoft/python-language-server

Dataclass parameters with init=False

DolajoCZ opened this issue · 2 comments

Hello, is it possible to hide parameters of python dataclass which are defined as fields with parameter init=False from class description? In attached picture is par_c shown although init=False. It can be misleading.

image

Thank you

Consider trying Pylance, which has dataclass support including what you've described here:

image

Consider trying Pylance, which has dataclass support including what you've described here:

image

Thank you @jakebailey for advice