

def configure_input_data(obj, data):
    ' Configure the input data for vtk pipeline object obj.'
    if is_old_pipeline():
        data.input = data
    else:
        obj.set_input_data(data)

dataset/ETHPy150Open enthought/mayavi/tvtk/common.py configure_input_data/VarMisuse@21/46 `obj`->`data`