redis / redis-om-python

Object mapping, and more, for Redis and Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run pydantic validation before .update

dearkafka opened this issue · comments

It would be nice if redis_om would run pydantic validation (to allow things like '@validator') before updating the model (when .update is called) so that it would prevent from using wrong types and making updated data unaccessible from index