def Set(self, value):
    if value is None:
      location = None
    elif isinstance(value, dict):
      location = Location(**value)
    elif isinstance(value, (str, unicode)):
      location = UnpackLocation(value)
    else:
      assert isinstance(value, Location), value
      location = value

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