Exemple #1
0
    def deserialize_graph(self):
        linker = Linker()
        base_target_path = self.project['target-path']
        filename = 'graph-{}.yml'.format(self.graph_type)
        graph_file = os.path.join(base_target_path, filename)
        linker.read_graph(graph_file)

        return linker
Exemple #2
0
    def deserialize_graph(self):
        logger.info("Loading dependency graph file")

        linker = Linker()
        base_target_path = self.project['target-path']
        graph_file = os.path.join(base_target_path,
                                  dbt.compilation.graph_file_name)
        linker.read_graph(graph_file)

        return linker