def gen_from_yaml_config(self, config_path: str) -> Iterator:
        """
        Convention is to uppercase first level keys.

        :param config_path: Valid path to the yml config file.
        :return: Config loaded from yml file
        """
        if not config_path:
            return {}

        with open(config_path, 'r') as f:
            yaml_config = yaml.load(f)

        gen = map(lambda x: (x[0].upper(), x[1]), yaml_config.items())

        return gen
Convention is to uppercase first level keys.

        :param config_path: Valid path to the yml config file.
        :return: Config loaded from yml file