Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

I think I've seen this ORM somewhere before...

Ticket #107 (enhancement)

Opened 3 years ago

storage.quickstart() feature needed

Status: new

Reported by: guest Assigned to: fumanchu
Priority: major Milestone: 2.0
Component: codewalk/logic Keywords: quickstart storage
Cc: Estimate (total hours):

Per a conversation on IRC it would be a great benefit to beginning users of dejavu to have a quickstart function for storage objects that allows fast and reliable setups without getting bogged down with internal details on how dejavu initializes. The method signature should go something like...

dejavu.storage.quickstart(backend='sqlite',conf={'Database':'dejavu.sqlite'},register=globals(),conflicts='repair')

It should also be noted that 'register' should be able to take a dict or list to allow for explicit registration (such as register=[Foo,Bar,Baz]).