def Set(self, value):
    if value is None:
      placemark = None
    elif isinstance(value, dict):
      placemark = Placemark(value.get('iso_country_code', ''), value.get('country', ''),
                            value.get('state', ''), value.get('locality', ''),
                            value.get('sublocality', ''), value.get('thoroughfare', ''),
                            value.get('subthoroughfare', ''))
    elif isinstance(value, (str, unicode)):
      placemark = UnpackPlacemark(value)
    else:
      assert isinstance(value, Placemark), value
      placemark = value

    if placemark != self._value:
      self.SetModified(True)
      self._value = placemark
Converts 'value' to a Placemark and store.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/schema.py/_PlacemarkValue.Set