redis / redis-om-python

Object mapping, and more, for Redis and Python
MIT License
1.06k stars 108 forks source link

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

Closed Sreesanth46 closed 2 months ago

Sreesanth46 commented 8 months ago

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 []