def Get(self, asdict=False):
    if asdict:
      # Cannot return empty strings for missing placemark fields as
      # JSON validator doesn't allow empty strings.
      return dict([(k, v) for k, v in self._value._asdict().items() \
                     if v is not None and v != ''])
    else:
      return self._value
Gets the value as a Placemark or dict object.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/schema.py/_PlacemarkValue.Get