__init__, __repr__, __eq__
를 자동 생성@dataclass
decorator로 구현@dataclass(frozen=True)
설정@dataclass(order=True)
설정@dataclass(unsafe_hash=True)
설정 시 사용 가능field
사용my_list = field(default_factory=list)
asdict(), astuple()
로 type casting 가능__post_init__
으로 기존 __init__
과 같은 기능docs
https://www.daleseo.com/python-dataclasses/
https://brownbears.tistory.com/532