code: def list_options(v: Union[str, "And", "Or"]) -> mlmd.ListOptions:
      """Converts query value to ListOptions."""
      return mlmd.ListOptions(filter_query=str(v))
  
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 1 for calling a global function with example usage: list_options(v) and returns: mlmd