dataclasses-json icon indicating copy to clipboard operation
dataclasses-json copied to clipboard

different introspection behaviour when using decorator vs mixin

Open devlounge opened this issue 3 years ago • 1 comments

Hi,

I ended up using the Mixin as the decorator does not allow IDEs to suggest instances attributes/methods but the mixin does. Any idea why ?

devlounge avatar Nov 19 '20 15:11 devlounge

Got the exact same issue. Moreover, VSCode do not provide autocompletion for attributes available on the dataclass_json package. Typing from dataclass_json import ... do not provide anything

g0di avatar Dec 03 '20 07:12 g0di