

def __init__(self, plug, path=None, parenting=None):
    if (path is None):
        filter = None
        sets = Gaffer.Metadata.plugValue(plug, 'scenePathPlugValueWidget:setNames')
        if parenting:
            filter = GafferScene.ScenePath.createStandardFilter(list(sets), Gaffer.Metadata.plugValue(plug, 'scenePathPlugValueWidget:setsLabel'))
        path = GafferScene.ScenePath(plug.node()['in'], plug.node().scriptNode().context(), '/', filter=filter)
    GafferUI.PathPlugValueWidget.__init__(self, plug, path, parenting=parenting)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferSceneUI/ScenePathPlugValueWidget.py ScenePathPlugValueWidget.__init__/VarMisuse@47/64 `sets`->`parenting`