Generate a typed Python dataclass

List fields with types and optional defaults. The output includes imports, decorators, and default factories where you need them.

Field definitions

Generated dataclass