Python3: dict を dataclass に変換する Python 3 で辞書を dataclass に変換したい時は、辞書のアンパック ** を使います。 次のように簡単に変換できます。 from dataclasses … #Python3 dataclass dict