def __init__(self, **kwargs):
        for k, v in kwargs.iteritems():
            if k not in self.fields:
                raise TypeError(k)
            setattr(self, k, v)
dataset/ETHPy150Open Julian/Condent/condent.py/Token.__init__/original