code: def validate_bounds(bounds: str) -> None:
      if (
          bounds != "()"
          and bounds != "(]"
          and bounds != "[)"
          and bounds != "[]"
      ):
          raise ValueError(
              "Invalid bounds. Please select between '()', '(]', '[)', or '[]'."
          )
  
file_path: arrow-py/arrow/util.py
imports: import datetime
  from typing import Any, Optional, cast
  from dateutil.rrule import WEEKLY, rrule
  from arrow.constants import MAX_ORDINAL, MAX_TIMESTAMP, MAX_TIMESTAMP_MS, MAX_TIMESTAMP_US, MIN_ORDINAL
label_desc: Use image node_id 6 for calling a global function with example usage: validate_bounds(bounds) without return types