FilterTypeDict and SimpleFilter definition

I have a search filter like this:

{"$and": [{"name": {"$eq": "foo"}}, {"type": {"$in": ["bar"]}}]}

This does not pass the typing check in 7.0 version of Pinecone python package.

As per the definition of SimpleFilter in query_filter.py, this structure is incorrect. But it seems right per the documentation.

Is this an issue with my filter definition or SimpleFilter?

Hello and welcome to the community forums @ram.venkat.11!

I pinged our SDK team, and they are currently investigating. I hope to have some answers soon.

1 Like