Revision history [back]
I'm also experimenting with dataclasses in WingPro 188.8.131.52 and seem to have one of the the abovementioned issues. Is the feature not yet available or is there some way to enable auto-complete for dataclass constructors?
In other places I could use assert isinstance() to hint WingIde to the correct object type and use the attributes, but I don't see how I could do that with constructors?
Unfortunately I have to look up the definition of the dataclass while using the constructor, which makes the time save of the @dataclass descriptor a mute point. I might re-implement the init method just to get the auto-complete going.