code: def _parse_yyyymmdd_str(date_str: str) -> datetime.datetime:
      year, month, day = [
          int(token) for token in date_str.split("-", 2)
      ]
      return datetime.datetime(year, month, day)
  
file_path: streamlit/lib/streamlit/config_option.py
imports: import datetime
  import re
  import textwrap
  from typing import Any, Callable, Optional
  from streamlit import util
  from streamlit.case_converters import to_snake_case
  from streamlit.errors import DeprecationError
label_desc: Use image node_id 1 for calling a global function with example usage: _parse_yyyymmdd_str(date_str) and returns: datetime