Skip to content

Commit

Permalink
fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Dec 20, 2024
1 parent b0718f8 commit 0e9e0ae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ def query(
detail="Please only choose one of `batch_id` parameters to filter.",
)

crit, k = {}, "builder_meta.batch_id"
crit = {} # type: dict
k = "builder_meta.batch_id"
if batch_id:
crit[k] = batch_id
elif batch_id_not_eq:
Expand Down

0 comments on commit 0e9e0ae

Please sign in to comment.