redis-om-python icon indicating copy to clipboard operation
redis-om-python copied to clipboard

JsonModel: find not working with enum int not string

Open gam-phon opened this issue 3 years ago • 1 comments

Hello,

enum with str works but enum with int does not work

gam-phon avatar Jan 26 '22 05:01 gam-phon

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

EinderJam avatar Jun 13 '23 12:06 EinderJam