redis / redis-om-python

Object mapping, and more, for Redis and Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

find().all() returns empty list if a field of type bool is indexed

Sreesanth46 opened this issue · comments

While indexing a field of bool type eg:

class SomeModel(JsonModel):
   ...somefields
   is_delelted: bool = Field(index=True)
   class Meta:
      ...

and while trying to list all entity

SomeModel.find().all() return []