Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 2a25391

Browse files
dlawinnolar
andauthored
more consistent style
Co-authored-by: Sergey Vasilyev <nolar@nolar.info>
1 parent 023450a commit 2a25391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_diff/dbt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def _get_diff_vars(
161161
prod_qualified_list = [x.upper() for x in [prod_database, prod_schema, model.alias] if x]
162162
primary_keys = [x.upper() for x in primary_keys]
163163
else:
164-
dev_qualified_list = list(filter(None, [dev_database, dev_schema, model.alias]))
165-
prod_qualified_list = list(filter(None, [prod_database, prod_schema, model.alias]))
164+
dev_qualified_list = [x for x in [dev_database, dev_schema, model.alias] if x]
165+
prod_qualified_list = [x for x in [prod_database, prod_schema, model.alias] if x]
166166

167167
where_filter = None
168168
if model.meta:

0 commit comments

Comments
 (0)