def cldparse(self, definitions): attributes, unused_definitions = parse_cld_defs_file(definitions) clouds = get_available_clouds(attributes, return_all_options=True) return { "msg": "Success", "status": 0, "result": { "clouds": clouds, "attributes": attributes } }
def cldparse(self, definitions): attributes, unused_definitions = parse_cld_defs_file(definitions) clouds = get_available_clouds(attributes, return_all_options = True) return {"msg" : "Success", "status" : 0, "result": { "clouds": clouds, "attributes" : attributes} }