Feta
added ORM style dropin replcement for classes in thing.py
old usage with thing.py
from timeio.thing import Thing
def act(content, ...)
thing = Thing.get_instance(content)
thing.database.username
...
new usage with feta.py
from timeio.feta import Thing
def act(content, ...)
thing = Thing.from_uuid(content["thing_uuid"])
thing.database.username
...
Edited by Bert Palm