code: def stringify_unsupported(
      value: Any,
  ) -> Union[StringifyValue, Mapping]:
      """Helper function that converts unsupported values in a collection or dictionary to strings.
  
      Args:
          value (Any): A dictionary with values or a collection
  
      Example:
          >>> import neptune
          >>> run = neptune.init_run()
          >>> complex_dict = {"tuple": ("hi", 1), "metric": 0.87}
          >>> run["complex_dict"] = complex_dict
          >>> # (as of 1.0.0) error - tuple is not a supported type
          ... from neptune.utils import stringify_unsupported
          >>> run["complex_dict"] = stringify_unsupported(complex_dict)
  
          For more information, see:
          https://docs.neptune.ai/setup/neptune-client_1-0_release_changes/#no-more-implicit-casting-to-string
      """
      if isinstance(value, MutableMapping):
          return {
              str(k): stringify_unsupported(v) for k, v in value.items()
          }
  
      return StringifyValue(value=value)
  
imports: from typing import Any, Mapping, MutableMapping, Union
  from neptune.internal.init.parameters import DEFAULT_STOP_TIMEOUT
  from neptune.internal.types.stringify_value import StringifyValue
  from neptune.internal.utils.logger import logger
  from neptune.typing import NeptuneObject
label_desc: Use image node_id 1 for calling a global function with example usage: stringify_unsupported(value) and returns: StringifyValue, unknown