@staticmethod
def yaml_getter(loader, node, *, data):
    """
        Constructor to get data from dictionary.

        :param obj loader: PyYaml Loader.
        :param obj node: Pyyaml node.
        :param dict directory: project directory path.
        :return: value at given key.
        """
    key = loader.construct_sequence(node)[0]
    return data.get(key)
