{"url":"https://aroundthedistance.hatenadiary.jp/entry/2015/11/05/171834","image_url":null,"categories":["Python"],"description":"SQLAlchemy\u306e1.0.9\u3067\u306f\u3001\u30e2\u30c7\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092dict\u306b\u5909\u63db\u3057\u3066\u304f\u308c\u308b _asdict() \u30e1\u30bd\u30c3\u30c9\u304c\u7121\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\u3002no attribute \u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002\u3059\u3054\u304f\u91cd\u5b9d\u3057\u3066\u305f\u306e\u306b\u30fb\u30fb\u30fb\u3053\u3061\u3089\u3092\u53c2\u8003\u306b\u3057\u3066\u3001\u5207\u308a\u66ff\u3048\u307e\u3057\u305f\u3002stackoverflow.com def get_model_dict(model): return dict((column.name, getattr(model, column.name)) for column in model.__table__.columns)","title":"SQLAlchemy\u306e_asdict() \u30e1\u30bd\u30c3\u30c9\u304c\u7121\u304f\u306a\u3063\u305f","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2015%2F11%2F05%2F171834\" title=\"SQLAlchemy\u306e_asdict() \u30e1\u30bd\u30c3\u30c9\u304c\u7121\u304f\u306a\u3063\u305f - Life is Really Short, Have Your Life!!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/gothedistance/","width":"100%","blog_url":"https://aroundthedistance.hatenadiary.jp/","published":"2015-11-05 17:18:34","blog_title":"Life is Really Short, Have Your Life!!","provider_name":"Hatena Blog","height":"190","type":"rich","provider_url":"https://hatena.blog","author_name":"gothedistance","version":"1.0"}