|View source on GitHub|
Converts a config object to a swagger API dict.
tfx.orchestration.launcher.container_common.to_swagger_dict( config )
This utility method recursively converts swagger code generated configs into a valid swagger dictionary. This method is trying to workaround a bug (https://github.com/swagger-api/swagger-codegen/issues/8948) from swagger generated code
config: The config object. It can be one of List, Dict or a Swagger code generated object, which has a
The original object with all Swagger generated object replaced with dictionary object.