classes — reading what ai just wrote you5 / 9
@dataclass — the class shape ai ships in every modern python project
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.
Booting Python…
Output
[promptdojo:~]$ _