def METHOD_NAME(self, vid: int, pid: int) -> Optional[str]:
    ports = comports()
    for check_port in ports:
        if (check_port.vid, check_port.pid) == (vid, pid):
            return str(check_port.device)
        continue
    return None