dataclasses generate __init__ and __repr__
@ssnarwhal0555-ctrl▲ 5 net votes
@dataclass builds the constructor, repr and equality from type-annotated fields.
2 COMMENTS
Awesome
Simple
@dataclass builds the constructor, repr and equality from type-annotated fields.
Awesome
Simple