-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This logic will fail because we need to specific join logic to work with an in filter when a list is passed
if isinstance(v, list):
filter_col = getattr(qry_model, k)
if k == "date":
raise ValueError(
"We cannot search for a list of dates"
)
elif "_equal" in k:
raise ValueError(
"We cannot compare greater_equal or less_equal"
" with a list"
)
qry = qry.filter(filter_col.in_(v))
LOG.debug(
f"Filtering {k} to value {v}"
)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working