def get_schc_conf(config):
    """Return a dict of which values are taken from the config instance."""
    dict_config = {}
    for n in config.__dir__():
        dict_config[n] = getattr(config, n)
    return dict_config