code: def iso_string_to_python_datetime(
          isostring: str) -> Optional[datetime.datetime]:
      
      if not isostring:
          return None  # if you parse() an empty string, you get today's date
      return dateutil.parser.parse(isostring)
docs: Takes an ISO-8601 string and returns a ``datetime``.