def replace(self, **kwargs):
        if not kwargs:
            return self
        other = super(ValidatedImmutableObject, self).replace(**kwargs)
        if hasattr(self, '_hash'):
            object.__delattr__(other, '_hash')
        return self._instances.setdefault(weakref.ref(other), other)
Build assets.
dataset/ETHPy150Open mopidy/mopidy/mopidy/models/immutable.py/ValidatedImmutableObject.replace--crossover with--dataset/ETHPy150Open miracle2k/webassets/src/webassets/script.py/BuildCommand.__call__