redis-om-python
redis-om-python copied to clipboard
JsonModel: find not working with enum int not string
Hello,
enum with str works but enum with int does not work
It looks like performing find() on a model which has an Enum as attribute returns an empty array if the Enum values type is anything other than str
: int
, as @gam-phon said, but also tuple
exhibit this behaviour