<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lambig_in_nealle</author_name>
  <author_url>https://blog.hatena.ne.jp/lambig_in_nealle/</author_url>
  <blog_title>Nealle Developer's Blog</blog_title>
  <blog_url>https://nealle-dev.hatenablog.com/</blog_url>
  <categories>
    <anon>リファクタリング</anon>
  </categories>
  <description>こんにちは、ニーリーの佐古です。 現在開発速度や開発者体験の向上のため、取り組みの諸々を遂行しています。 事前準備がかさばって本題にフォーカスできない問題 さあ本題です。本題までが長い話は読む気がなくなりますね。 成長期のプロダクトをDjangoで開発していると あまり型情報が信用できなかったりそもそもなかったり 値すら無かったり するケースがあると思います。Pylanceなどのご利益にあずかろうと思うと ガードなりチェックなり書くことになるのですが 有無チェックとデフォルトをやると本題までが長い こういうことになりがちですね。 真面目に読まなくてよいです。 if val0 is None: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnealle-dev.hatenablog.com%2Fentry%2F2025%2F06%2F11%2F170507&quot; title=&quot;ちょっとしたライブラリを書いた話: 処理の前提変数確保 - Nealle Developer&amp;#39;s Blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/l/lambig_in_nealle/20250609/20250609210203.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-11 17:05:07</published>
  <title>ちょっとしたライブラリを書いた話: 処理の前提変数確保</title>
  <type>rich</type>
  <url>https://nealle-dev.hatenablog.com/entry/2025/06/11/170507</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
