def METHOD_NAME(self, key):
    """Gets the right config for target / general.
    :param key: The key
    :type key: `str`
    :return: Value for the key
    """
    config = self.get_config_dict
    for type in CONFIG_TYPES:
        if key in config[type]:
            return config[type][key]