def get_policy(proj_dir, policy) :
    def_policies = {
        'no_auto_import': False
    }
    if util.is_valid_project_dir(proj_dir) :
        dic = util.load_fips_yml(proj_dir)
        if 'policies' in dic and type(dic['policies']) is dict:
            if policy in dic['policies'] :
                return dic['policies'][policy]
    # not found, return default
    if policy in def_policies :
        return def_policies[policy]
    else :
        # unknown policy, return None
        log.error("unknown policy name: '{}'".format(policy))
        return None

#-------------------------------------------------------------------------------
Return mapped names for `driver` as ``(inputs, outputs)``.
dataset/ETHPy150Open floooh/fips/mod/dep.py/get_policy--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/casehandlers/util.py/driver_map