code: def demo_method_with_str(str_val: str):
      return DemoWithStr(strval=str_val)
  
imports: import unittest
  from pathlib import Path
  from typing import Any, Dict, List
  from transfer_nlp.plugins.config import CallableInstantiationError, ExperimentConfig, LoopInConfigError, UnknownPluginException, UnknownReferenceError, register_plugin
label_desc: Use image node_id 1 for calling a global function with example usage: demo_method_with_str(str_val) and returns: DemoWithStr