dataclasses-json
dataclasses-json copied to clipboard
different introspection behaviour when using decorator vs mixin
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 ?
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