code: def __init__(self):
      self.__last_handle = None
      self.__last_id = 1
      self.__cell_lines = []
      self.__cell_count = 0
      self.lock = threading.Lock()
  
file_path: labml/client/labml/internal/logger/destinations/ipynb.py
imports: import threading
  from typing import List, Union, Tuple, Callable, Optional
  from IPython.core.display import display, HTML
  from labml.internal.logger.destinations import Destination
  from labml.internal.util import is_kaggle
  from labml.internal.util.colors import StyleCode
label_desc: Use image node_id 1 to create a new IpynbDestination object from inherited base classes: Destination with example: obj = IpynbDestination()