code: def get_output_stream_from_cell(cell, stream_name="stdout"):
      return "\n".join(
          [
              output.text
              for output in cell.get("outputs", [])
              if output.output_type == "stream"
              and output.name == stream_name
          ]
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_output_stream_from_cell(cell, stream_name) and returns: str