code: def to_sql_string(
      value: Union[bool, int, float, str, List[Any], Sequence[Any]]
  ) -> str:
      """Converts python value to appropriate GoogleSQL string."""
      if isinstance(value, list):
          inner = ", ".join(to_sql_string(v) for v in value)
          return f"({inner})"
      if isinstance(value, bool):
          return "TRUE" if value else "FALSE"
      if isinstance(value, (int, float)):
          return str(value)
      if isinstance(value, str):
          return f'"{value}"'
      raise NotImplementedError(
          f"Cannot convert {value} to SQL string."
      )
  
file_path: tfx/tfx/orchestration/portable/mlmd/filter_query_builder.py
imports: import collections
  from typing import Any, List, Sequence, Union
  import ml_metadata
label_desc: Use image node_id 2 for calling a global function with example usage: to_sql_string(value) and returns: str, inner, str, unknown, str, str, value, str