def get_record_timestamp (self, record):
    return parse(record['timestamp']) if 'timestamp' in record else None
dataset/ETHPy150Open openaps/openaps/openaps/vendors/medtronic.py/iter_pump_hours.get_record_timestamp/original