code: def _render_single_enum_input(
      self, streamlit_app: st, key: str, property: Dict
  ) -> Any:
      streamlit_kwargs = self._get_default_streamlit_input_kwargs(
          key, property
      )
      reference_item = schema_utils.get_single_reference_item(
          property, self._schema_references
      )
  
      if property.get("default") is not None:
          try:
              streamlit_kwargs["index"] = reference_item["enum"].index(
                  property.get("default")
              )
          except Exception:
              # Use default selection
              pass
  
      return streamlit_app.selectbox(
          **streamlit_kwargs, options=reference_item["enum"]
      )
  
imports: import datetime
  import inspect
  import mimetypes
  import sys
  from os import getcwd, unlink
  from platform import system
  from tempfile import NamedTemporaryFile
  from typing import Any, Callable, Dict, List, Type
  import pandas
  import streamlit
  from fastapi.encoders import jsonable_encoder
  from loguru import logger
  from pydantic import BaseModel, ValidationError, parse_obj_as
  from opyrator import Opyrator
  from opyrator.core import name_to_title
  from opyrator.ui import schema_utils, streamlit_utils
  from opyrator.ui.streamlit_utils import CUSTOM_STREAMLIT_CSS, SessionState
label_desc: Use image node_id 10 for calling the InputUI obj's underlying member method code with example usage: obj._render_single_enum_input(streamlit_app, key, property) and returns: streamlit_app