Skip to content

Commit

Permalink
ignore type
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Dec 20, 2024
1 parent 0e9e0ae commit c95e4e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def query(
crit[k] = {"$ne": batch_id_not_eq}
elif batch_id_eq_any or batch_id_neq_any:
value = batch_id_eq_any if batch_id_eq_any else batch_id_neq_any
batch_ids = [batch_id.strip() for batch_id in value.split(",")]
batch_ids = [batch_id.strip() for batch_id in value.split(",")] # type: ignore
if len(batch_ids) > 1:
crit[k] = {"$in" if batch_id_eq_any else "$nin": batch_ids}
else:
Expand Down

0 comments on commit c95e4e1

Please sign in to comment.