#NEWLINE# def __init__( self , db , row ) : #NEWLINE# #INDENT# self . update_from_dict ( json . loads ( row [ 'data' ] ) ) #NEWLINE# self . db = self #NEWLINE# self . time = row [ 'time' ] #NEWLINE# self . ticket_id = row [ 'ticket_id' ] #NEWLINE# self . occurrence_id = row [ '_id' ]