code: def _nb_to_html_str(self, nb_path):
      nb_node = nbformat.read(
          nb_path, as_version=nbformat.current_nbformat
      )
      html_exporter = HTMLExporter()
      (body, resources) = html_exporter.from_notebook_node(nb_node)
      log.debug("Generated HTML preview for " + nb_path)
      return body
  
imports: import os
  import sys
  import argparse
  import traceback
  import json
  import re
  import logging
  import yaml
  import nbformat
  from nbconvert import HTMLExporter
  from arcgis.gis import GIS
label_desc: Use image node_id 9 for calling the ItemsUploader obj's underlying member method code with example usage: obj._nb_to_html_str(nb_path) and returns: body