<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Ehren</author_name>
  <author_url>https://blog.hatena.ne.jp/Ehren/</author_url>
  <blog_title>Keep on moving</blog_title>
  <blog_url>https://masahito.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>こんにちはPython界のレアキャラです。 dataclassから機能が追加され attrsであった機能が取り込まれました。 以前書いた記事のアップデートをしておこうと思います。 TL;DR dataclassにkw_onlyと slotsが入った attrsのつかいどころ ボイラープレートコードを避けたい.(特にdataclassにない機能を利用したい) 今Python3.9 以下を使っているし、今後dataclassを使いたい. ドキュメントをきちんと読むと色々書いてある docs.python.org kw_only https://docs.python.org/ja/3.10/glo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasahito.hatenablog.com%2Fentry%2F2022%2F10%2F08%2F171535&quot; title=&quot;DataClass 3.10での機能追加(kw_only, slots) - Keep on moving&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-08 17:15:35</published>
  <title>DataClass 3.10での機能追加(kw_only, slots)</title>
  <type>rich</type>
  <url>https://masahito.hatenablog.com/entry/2022/10/08/171535</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
