{"published":"2024-03-11 12:00:00","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/n/nainaistar/20240310/20240310211649.png","author_name":"nainaistar","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnainaistar.hatenablog.com%2Fentry%2Fpython3-implicitly-extends-object\" title=\"Python\u306eclass\u306f\u6697\u9ed9\u7684\u306bobject\u3092\u7d99\u627f\u3057\u3066\u3044\u308b\uff08reportMissingSuperCall\u306e\u5bfe\u5fdc\uff09 - \u304d\u308a\u4e38\u306e\u6280\u8853\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/nainaistar/","blog_url":"https://nainaistar.hatenablog.com/","provider_name":"Hatena Blog","blog_title":"\u304d\u308a\u4e38\u306e\u6280\u8853\u65e5\u8a18","title":"Python\u306eclass\u306f\u6697\u9ed9\u7684\u306bobject\u3092\u7d99\u627f\u3057\u3066\u3044\u308b\uff08reportMissingSuperCall\u306e\u5bfe\u5fdc\uff09","description":"pyright\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u969b\u306b\u3001reportMissingSuperCall\u304c\u767a\u751f\u3057\u305f\u306e\u3067\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3057\u305f\u3002 error: Method \"__init__\" does not call the method of the same name in parent class (reportMissingSuperCall) \u305f\u3060\u3057\u3001\u30b3\u30fc\u30c9\u4e0a\u306f\u7279\u306b\u4f55\u3082\u7d99\u627f\u3057\u3066\u3044\u307e\u305b\u3093\u3002 class Hoge: def __init__(self, name: str): self.name = name \u3053\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306b\u8abf\u67fb\u3057\u305f\u5185\u5bb9\u3092\u30e1\u30e2\u3057\u307e\u3059\u3002 \u74b0\u5883 Python 3.12 \u539f\u56e0 \u63b2\u984c\u306e\u2026","url":"https://nainaistar.hatenablog.com/entry/python3-implicitly-extends-object","categories":["Python","\u6280\u8853"],"width":"100%","height":"190"}