code: def list_to_str(
      lst: List[Text], delim: Text = ", ", quote: Text = "'"
  ) -> Text:
      """Converts list to a string.
  
      Args:
          lst: The list to convert.
          delim: The delimiter that is used to separate list inputs.
          quote: The quote that is used to wrap list inputs.
  
      Returns:
          The string.
      """
      return delim.join([quote + e + quote for e in lst])
  
imports: import logging
  import os
  from pathlib import Path
  import random
  from collections import Counter, OrderedDict
  import copy
  from os.path import relpath
  from typing import Any, Dict, List, Optional, Set, Text, Tuple, Callable
  import operator
  import rasa.shared.data
  from rasa.shared.utils.common import lazy_property
  import rasa.shared.utils.io
  from rasa.shared.nlu.constants import RESPONSE, INTENT_RESPONSE_KEY, ENTITY_ATTRIBUTE_TYPE, ENTITY_ATTRIBUTE_GROUP, ENTITY_ATTRIBUTE_ROLE, NO_ENTITY_TAG, INTENT, ENTITIES, TEXT, ACTION_NAME
  from rasa.shared.nlu.training_data.message import Message
  from rasa.shared.nlu.training_data import util
label_desc: Use image node_id 1 for calling a global function with example usage: list_to_str(lst, delim, quote) and returns: delim