{"height":"190","author_url":"https://blog.hatena.ne.jp/podhmo/","categories":["python","marshmallow"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpod.hatenablog.com%2Fentry%2F2015%2F03%2F25%2F000831\" title=\"marshmallow-form\u306bfrom_object\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002 - podhmo&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://pod.hatenablog.com/entry/2015/03/25/000831","blog_url":"https://pod.hatenablog.com/","author_name":"podhmo","provider_url":"https://hatena.blog","width":"100%","description":"marshmallow-form\u306bfrom_object\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002 \u4eca\u307e\u3067\u53d7\u3051\u53d6\u308b\u5024\u304c\u8f9e\u66f8\u3060\u3051\u3067\u3057\u305f\u304c\u3002ORM\u306emodel\u306a\u3069\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d7\u3051\u53d6\u308a\u305f\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 \u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306bfrom_object\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002 \u4ee5\u4e0b\u306e\u69d8\u306b\u3057\u3066\u4f7f\u3044\u307e\u3059\u3002 import marshmallow_form as mf from datetime import date from collections import namedtuple Person = namedtuple(\"Person\", \"name birth\") class PersonForm(mf.Form): na\u2026","image_url":null,"published":"2015-03-25 00:08:31","title":"marshmallow-form\u306bfrom_object\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002","provider_name":"Hatena Blog","version":"1.0","blog_title":"podhmo's diary","type":"rich"}