@classmethod
    def process_row(cls, data, column_map):
        """Process the row data from Rekall"""
        row = {}
        for key,value in data.iteritems():
            if not value:
                value = '-'                
            elif isinstance(value, list):
                value = value[1]
            elif isinstance(value, dict):
                if 'type_name' in value:
                    if 'UnixTimeStamp' in value['type_name']:
                        value = datetime.datetime.utcfromtimestamp(value['epoch'])
                        if value == datetime.datetime(1970, 1, 1, 0, 0):
                            value = '-'

            # Assume the value is somehow well formed when we get here
            row[column_map[key]] = value
        return row
dataset/ETHPy150Open SuperCowPowers/workbench/workbench/workers/rekall_adapter/rekall_adapter.py/RekallAdapter.process_row/original