結果 : dict object has no attribute name python