{"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/methane/","categories":["python"],"width":"100%","type":"rich","blog_title":"methane\u306e\u30d6\u30ed\u30b0","image_url":null,"title":"\u30bf\u30a4\u30d7\u30d2\u30f3\u30c8\u306b\u306f\u300c\u5b9f\u88c5\u306e\u6700\u5c0f\u8981\u4ef6\u300d\u3067\u306f\u306a\u304f\u300c\u60f3\u5b9a\u7bc4\u56f2\u300d\u3092\u8868\u3059\u578b\u3092\u66f8\u304f","blog_url":"https://methane.hatenablog.jp/","provider_name":"Hatena Blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F2025%2F08%2F14%2F153453\" title=\"\u30bf\u30a4\u30d7\u30d2\u30f3\u30c8\u306b\u306f\u300c\u5b9f\u88c5\u306e\u6700\u5c0f\u8981\u4ef6\u300d\u3067\u306f\u306a\u304f\u300c\u60f3\u5b9a\u7bc4\u56f2\u300d\u3092\u8868\u3059\u578b\u3092\u66f8\u304f - methane\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2025-08-14 15:34:53","version":"1.0","url":"https://methane.hatenablog.jp/entry/2025/08/14/153453","description":"\u30ea\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u3063\u3066\u30eb\u30fc\u30d7\u3067\u51e6\u7406\u3059\u308b\u95a2\u6570\u3092\u5b9f\u88c5\u3059\u308b\u3068\u304d\u3001\u5f15\u6570\u306e\u30bf\u30a4\u30d7\u30d2\u30f3\u30c8\u306b list \u3067\u306f\u306a\u304f\u6700\u5c0f\u306e\u8981\u6c42\u3068\u3057\u3066 Iterable \u3092\u66f8\u304f\u3053\u3068\u3092\u597d\u3080\u4eba\u304c\u3044\u308b\u3002\u30b3\u30fc\u30c9\u306e\u5b9f\u88c5\u304c\u5f15\u6570\u306b\u5bfe\u3057\u3066\u5fc5\u8981\u3068\u3057\u3066\u3044\u308b\u6700\u5c0f\u8981\u4ef6(\u5fc5\u8981\u5341\u5206\u6761\u4ef6)\u3092\u8868\u3059\u305f\u3081\u3060\u3002 def func(arg: Iterable[int]) -> None: for a in arg: do_work(a) \u3057\u304b\u3057\u3001\u305d\u306e\u95a2\u6570\u3067\u30ed\u30b0\u304b\u30c8\u30ec\u30fc\u30b9\u306b\u305d\u306e\u5f15\u6570\u306e\u4e2d\u8eab\u3092\u8ffd\u52a0\u3057\u305f\u304f\u306a\u3063\u305f\u5834\u5408\u306b\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u3060\u308d\u3046\u304b\uff1f OpenTelemetry\u306eAttributeValue\u578b\u306fSequence\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304cIterable\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3002 \u307e\u305f\u3001I\u2026","author_name":"methane"}