def CopyConstructor(self, other):
    self._data = {}
    for name, (obj, serialized, t_info) in other.GetRawData().iteritems():
      if serialized is None:
        serialized = t_info.ConvertToWireFormat(obj)

      self._data[name] = (None, serialized, t_info)
Efficiently copy from other into this object.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/RDFStruct.CopyConstructor