Skip to content

Commit 685eb50

Browse files
use set comprehension
1 parent d91d698 commit 685eb50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/bfd-pipeline-idr/loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ def __init__(
148148
# rows that are actually updated during the upsert so that last updated can be ran for
149149
# just rows with changes during the load
150150
self.updated_keys_returning_str = ", ".join(
151-
set(
151+
{
152152
col
153153
for col in [
154154
*self.model.ordered_pkeys(),
155155
self.model.last_updated_timestamp_col(),
156156
]
157157
if col
158-
)
158+
}
159159
)
160160
self.timestamp_placeholders = ", ".join("%(timestamp)s" for _ in self.meta_keys)
161161

0 commit comments

Comments
 (0)