kiddouk / redisco

A Python Library for Simple Models and Containers Persisted in Redis
MIT License
438 stars 78 forks source link

Add the implicit id to attributes_dict... #2

Closed tutuca closed 12 years ago

tutuca commented 12 years ago

Or facilitate json serialization in some other way, right now doing a naive json.dumps(obj.attributes_dict) missed the object id which is kind of important.

kiddouk commented 12 years ago

I agree with that. Have you checked with Ohm behavior ? (as I am planning on merging with Ohm in 0.2/0.3).

tutuca commented 12 years ago

Haven't checked ohm, I don't have a ruby stack here at work... I'll try to make some test tough, will report back.