def _update_self(self, entity):
        for key, value in six.iteritems(entity):
            setattr(self, key, value)
Update own properties based on values returned by API.
dataset/ETHPy150Open MediaMath/t1-python/terminalone/entity.py/Entity._update_self