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