Skip to content

Commit 036d3e8

Browse files
Pyright build fix for python
1 parent 0c32f54 commit 036d3e8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/bfd-pipeline-idr/pipeline_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def prune_stale_non_part_d_claims(
195195

196196
prune_query = stale_non_part_d_claims_query(claim_table)
197197

198-
total_row_counts = {
198+
total_row_counts: dict[str, int] = {
199199
item_table: 0,
200200
claim_table: 0,
201201
}
@@ -206,7 +206,8 @@ def prune_stale_non_part_d_claims(
206206
with conn.transaction():
207207
for target_table in [item_table, claim_table]:
208208
res = conn.execute(
209-
f"""DELETE FROM {target_table} WHERE clm_uniq_id IN ({prune_query})""" # type: ignore
209+
f"""DELETE FROM {target_table} WHERE clm_uniq_id IN ({prune_query})""", # type: ignore
210+
(),
210211
)
211212

212213
total_row_counts[target_table] += res.rowcount

0 commit comments

Comments
 (0)