@dataclass — the class shape AI ships in every modern Python project — step 5 of 9
Cursor wrote a class definition but forgot the decorator that turns
it into a dataclass. Without it, the field-only shape doesn't get an
__init__, and the call below would fail with
TypeError: Order() takes no arguments.
Fill in the decorator name on line 3 (no @ — just the word).
Decorator:
⌘↵ runs the editor.read, then continue.
@dataclass — the class shape AI ships in every modern Python project — step 5 of 9
Cursor wrote a class definition but forgot the decorator that turns
it into a dataclass. Without it, the field-only shape doesn't get an
__init__, and the call below would fail with
TypeError: Order() takes no arguments.
Fill in the decorator name on line 3 (no @ — just the word).
Decorator:
⌘↵ runs the editor.read, then continue.