def _set_input(self, object, name, newvalue): """Trait callback function to update a node input """ object.traits()[name].node.set_input(name, newvalue)