def __init__(self, op: str, written: int, from_hw: bool, new_value: int):
    self.op = op
    self.written = written
    self.from_hw = from_hw
    self.new_value = new_value
def __init__(self, op: str, written: int, from_hw: bool, new_value: int):
    self.op = op
    self.written = written
    self.from_hw = from_hw
    self.new_value = new_value