Closed rkulagowski closed 2 years ago
It's because RedisModel.from_redis()
intentionally removes id
from fields, so later pyndantic validation fails:
https://github.com/redis/redis-om-python/blob/main/aredis_om/model/model.py#L1211
No clue why so far, didn't find mentions in code/docs
@simonprickett fix has been merged so we can close this out
Will result in the following error:
Changing from 'id' to anything else causes the code to work.