You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}"
)
The text was updated successfully, but these errors were encountered:
This logic will fail because we need to specific join logic to work with an
in
filter when a list is passedThe text was updated successfully, but these errors were encountered: