Handle complex objects in yaml formatter better
this patch adds special handling of objects that have either 'toDict' or 'to_dict' method, converting those to dictionary before passing them to pyYaml. The main immediate aim is to support instances of openstack.utils.Munch class in the YAML output. Story: 2010906 Task: 48728 Change-Id: If3718477533987b6b88b27ac639c6689a2e4b327
Loading
Please register or sign in to comment