Inspectopedia Help

Invalid definition and usage of Data Classes

Reports invalid definitions and usages of classes created with dataclasses or attr modules.


import dataclasses @dataclasses.dataclass class FullName: first: str middle: str = "" last: str

Inspection Details

Available in:

DataSpell 2023.3, PyCharm 2023.3


Python Community Edition, 233.SNAPSHOT

Last modified: 13 July 2023