weaviate-python-client icon indicating copy to clipboard operation
weaviate-python-client copied to clipboard

Improve dynamic filters

Open dirkkul opened this issue 1 year ago • 0 comments

We currently allow to add multiple filters dynamically using Filter.all_of(..list..of..filters...).

However, users still need to handle the case that:

  • there are no filters (list is empty)
  • some of the filters are None

We should handle this case and:

  • filter None out
  • In case there are no filters, we return a Non-filter that works like any other of our filters (eg supports + and - with other filters). Internally they are then ignored

dirkkul avatar Jun 03 '24 17:06 dirkkul