Skip to content

Commit

Permalink
Merge branch 'updated-pydantic' of github.com:coinlist/data-platform-…
Browse files Browse the repository at this point in the history
…data-diff into updated-pydantic
  • Loading branch information
ondramie committed Nov 22, 2024
2 parents 1e87a51 + d7a25fb commit 6e7db67
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions data_diff/dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ def dbt_diff(

futures = {}

with log_status_handler.status if log_status_handler else nullcontext(), ThreadPoolExecutor(
max_workers=dbt_parser.threads
) as executor:
with (
log_status_handler.status if log_status_handler else nullcontext(),
ThreadPoolExecutor(max_workers=dbt_parser.threads) as executor,
):
for model in models:
if log_status_handler:
log_status_handler.set_prefix(f"Diffing {model.alias} \n")
Expand Down

0 comments on commit 6e7db67

Please sign in to comment.