はじめに 七尾百合子さん、お誕生日 343日目 おめでとうございます! nikkieです。 FastAPI の新しいバージョンが「Python で型ヒントを書くと、パフォーマンスが向上する」事例でした。 興味深かったので記事にします。 目次 はじめに 目次 前提:path operation function の返り値を Pydantic のモデルで型ヒント FastAPI 0.130.0: Serialize JSON response with Pydantic (in Rust), when there's a Pydantic return type or response model…