Get all includes from a config in a given path

def get_includes(self, path):
        """
        Get all includes from a config in a given path
        """
        config = self.file_index.unfold_yaml(path)

        return self.get_includes_from_dict(config, extract=True)