Join the SIG TFX-Addons community and help make TFX even better!


Converts a config object to a swagger API dict.

This utility method recursively converts swagger code generated configs into a valid swagger dictionary. This method is trying to workaround a bug ( from swagger generated code

config The config object. It can be one of List, Dict or a Swagger code generated object, which has a attribute_map attribute.

The original object with all Swagger generated object replaced with dictionary object.