def __init__(self, **kwargs):
    # Tag being an essential implementation detail must be private.
    self.__tags = {}
    self.__unrecognized_fields = {}

    assigned = set()
    for name, value in kwargs.iteritems():
      setattr(self, name, value)
      assigned.add(name)

    # initialize repeated fields.
    for field in self.all_fields():
      if field.repeated and field.name not in assigned:
        setattr(self, field.name, [])
For necessary clean up, automatically called by TestCase after the test methods have been invoked
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/messages.py/Message.__init__--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_array_source.py/TestArraySource.tearDown