redis / redis-om-python

Object mapping, and more, for Redis and Python
MIT License
1.11k stars 110 forks source link

kick off type validation before update #615

Closed slorello89 closed 4 months ago

slorello89 commented 4 months ago

Solves #576 - as it stands now, if you call update and you have garbage data in the update dict you can break your redis index. This causes the new pydantic v2 type adapter to validate the model prior to sending the update across.