Hello Sai,
Storing non-serializable Python objects in Redis can be challenging, but there are a few approaches you can consider such as:
- Serialization with Pickle.
- Using JSON for Serializable Parts.
- Use
redis-protobuf
to serialize and store data. - or would you like to implement custom serialization methods for your classes.
Let me know your preferences or the previous you've already using, and I will revert shortly.