def update(self, other):
     # This is pretty ugly.
     dict_self = dict(self)
     dict_self.update(serializeDict(other))
     self._apply_to_field(dict_self)
 def serializeDict(dictionary):
     """ Convenience method to provide interface to serializeDict tooling """
     return serializeDict(dictionary)
 def serializeDict(dictionary):
     """ Convenience method to provide interface to serializeDict tooling """
     return serializeDict(dictionary)
 def update(self, other):
     # This is pretty ugly.
     dict_self = dict(self)
     dict_self.update(serializeDict(other))
     self._apply_to_field(dict_self)