@profiler.trace
def flavor_extra_set(request, flavor_id, metadata):
 flavor = novaclient(request).flavors.get(flavor_id)
 if (not metadata):
  return None
 return flavor.set_keys(metadata)

@ profiler . trace def flavor_extra_set ( request , flavor_id , metadata ) : flavor = novaclient ( request ) . flavors . get ( flavor_id ) if ( not metadata ) : return None return flavor . set_keys ( metadata )
set the flavor extra spec keys .