def get_flavor_access_by_flavor_id(flavorid, ctxt=None):
 if (ctxt is None):
  ctxt = context.get_admin_context()
 flavor = objects.Flavor.get_by_flavor_id(ctxt, flavorid)
 return flavor.projects

def get_flavor_access_by_flavor_id ( flavorid , ctxt = None ) : if ( ctxt is None ) : ctxt = context . get_admin_context ( ) flavor = objects . Flavor . get_by_flavor_id ( ctxt , flavorid ) return flavor . projects
retrieve flavor access list by flavor id .