Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ct 738/dbt debug log fix #6541

Merged
merged 18 commits into from
Jan 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
The boolean doesn't reflect the original logic but a try-catch does.
  • Loading branch information
VersusFacit committed Jan 8, 2023
commit de12d6418b715c5413b76116a180407657798475
8 changes: 5 additions & 3 deletions core/dbt/compilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,11 @@ def compile(self, manifest: Manifest, write=True, add_test_edges=False) -> Graph
if write:
self.write_graph_file(linker, manifest)

if getattr(
self.config.args, "get", None
) and not list_task.ListTask == self.config.args.get("cls", None):
# Only in the case the object is specifically a ListTask do we avoid printing these stats.
try:
if not isinstance(self.config.args.get("cls", None), list_task.ListTask):
print_compile_stats(stats)
except AttributeError:
print_compile_stats(stats)
VersusFacit marked this conversation as resolved.
Show resolved Hide resolved

return Graph(linker.graph)
Expand Down