code: def __init__(self, node_id):
      self.node_id = node_id
      self.device = "cpu"
  
imports: from dataclasses import dataclass
  from abc import ABC, abstractmethod
label_desc: Use image node_id 1 to create a new CPUDevice object from inherited base classes: Device with example: obj = CPUDevice(node_id)