def run(self): runner = RunManager(self.config) query = { "include": self.args.models, "exclude": self.args.exclude, "resource_types": NodeType.executable(), "tags": [], } results = runner.run(query, CompileRunner) dbt.ui.printer.print_timestamped_line('Done.') return results
def run(self): runner = RunManager(self.config) query = { "include": self.args.models, "exclude": self.args.exclude, "resource_types": [NodeType.Model], "tags": [] } results = runner.run(query, ModelRunner) if results: dbt.ui.printer.print_run_end_messages(results) return results
def run(self): runner = RunManager(self.project, self.project['target-path'], self.args) query = { "include": self.args.models, "exclude": self.args.exclude, "resource_types": [NodeType.Model], "tags": set() } results = runner.run(query, ModelRunner) if results: dbt.ui.printer.print_run_end_messages(results) return results
def run(self): graph_type = self.compile() runner = RunManager(self.project, self.project['target-path'], graph_type, self.args) if self.args.dry: results = runner.dry_run(self.args.models) else: results = runner.run(self.args.models) total = len(results) passed = len([r for r in results if not r.errored and not r.skipped]) errored = len([r for r in results if r.errored]) skipped = len([r for r in results if r.skipped]) logger.info( "Done. PASS={passed} ERROR={errored} SKIP={skipped} TOTAL={total}". format(total=total, passed=passed, errored=errored, skipped=skipped))