def _get_value_str()

in tfx_airflow/notebooks/utils.py [0:0]


def _get_value_str(p):
  """Returns a string representation of a `metadata_store_pb2.Value` object."""
  if p.int_value:
    return str(p.int_value)
  if p.string_value:
    return p.string_value
  if p.double_value:
    return str(p.double_value)
  return ''