def createModule(self):
        pythoncalc = "org.vistrails.vistrails.pythoncalc"
        module = vistrails.api.add_module(0, 0, pythoncalc, 'PythonCalc', '')
        vistrails.api.get_current_controller().update_function(module, 'value1',
                                                     [str(self.value1Edit.text())])
        vistrails.api.get_current_controller().update_function(module, 'value2',
                                                     [str(self.value2Edit.text())])
        vistrails.api.get_current_controller().update_function(module, 'op',
                                                     [str(self.opCombo.currentText())])
        vistrails.api.switch_to_pipeline_view()
RESTful CRUD controller
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/pythonCalcQt/init.py/QPythonCalc.createModule--crossover with--dataset/ETHPy150Open sahana/eden/controllers/event.py/event