code: def upload_items(self, share_after_upload=True):
      for entry in (
          self._items_metadata_yaml["samples"]
          + self._items_metadata_yaml["guides"]
          + self._items_metadata_yaml["labs"]
      ):
          self._stage_and_upload_item(entry, share_after_upload)
  
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 2 for calling the ItemsUploader obj's underlying member method code with example usage: obj.upload_items(share_after_upload) without return types