classes — reading what ai just wrote you4 / 9
@dataclass — the class shape ai ships in every modern python project
The dataclass auto-generates a __repr__ that prints the class name
followed by every field with its name and value. What does
print(t) produce?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _