

def restore(self, plugParent):
    compoundPlug = plugParent.getChild(self.parameter().name)
    if (compoundPlug is not None):
        className = compoundPlug['__className'].getValue()
        classVersion = compoundPlug['__classVersion'].getValue()
        searchPathEnvVar = compoundPlug['__searchPathEnvVar'].getValue()
        self.parameter().setClass(className, classVersion, searchPathEnvVar)
    GafferCortex.CompoundParameterHandler.restore(self, self)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferCortex/ClassParameterHandler.py ClassParameterHandler.restore/VarMisuse@94/140 `plugParent`->`self`