def add_fields(self, **kw):
        for k,v in kw.iteritems():
            self.add_field(k,v)
Translate an xmile model file into a python class.
dataset/ETHPy150Open swordapp/python-client-sword2/sword2/atom_objects.py/Entry.add_fields--crossover with--dataset/ETHPy150Open JamesPHoughton/pysd/pysd/translators/XMILE2Py.py/translate_xmile