def __enter__(self):
        if self.enabled:
            self.original_value = getattr(self.object, self.attribute)
            setattr(self.object, self.attribute, self.patched_value)
Add a custom target to DFP
dataset/ETHPy150Open paylogic/pip-accel/pip_accel/__init__.py/PatchedAttribute.__enter__--crossover with--dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/client.py/DFPClient.create_custom_target