'Populate with dummy data or an actual db entry.'

def __init__(self, timestamp=0, lock=None, result=None):

    self.timestamp = timestamp
    self.lock = (lock or threading.Lock())
    self.result = result
