nvie/rdb — Issue #5: Feature Request - TTL
Author: wizardofzos
Created: 2011-11-13 21:18:00+00:00
State: open

It would be awesome if a "model" based on entity could have a 'ttl' attribute.

My idea on this is the following:

class Rolykit(Entity):
fields = ['type', 'colour', 'name']
unique = ['name']

Resulting in behaviour that if :

r = Rolykit.next(name='MyCoolestRolykit')
r.ttl = 10

Rolykit(name='MyCoolestRolykiy') = none