def get_spot_config(vm_):
 return config.get_cloud_config_value('spot_config', vm_, __opts__, search_global=False)

def get_spot_config ( vm_ ) : return config . get_cloud_config_value ( 'spot_config' , vm_ , __opts__ , search_global = False )
returns the spot instance configuration for the provided vm .