def get_flavor_by_flavor_id(flavorid, ctxt=None, read_deleted='yes'):
 if (ctxt is None):
  ctxt = context.get_admin_context(read_deleted=read_deleted)
 return objects.Flavor.get_by_flavor_id(ctxt, flavorid, read_deleted)

def get_flavor_by_flavor_id ( flavorid , ctxt = None , read_deleted = 'yes' ) : if ( ctxt is None ) : ctxt = context . get_admin_context ( read_deleted = read_deleted ) return objects . Flavor . get_by_flavor_id ( ctxt , flavorid , read_deleted )
retrieve flavor by flavorid .