def links(self):
        inp, out = self.signature
        if self.is_function():
            using = self.function.function
            if not all(inp) or not out:
                return []
            link = core.component_link.ComponentLink(inp, out, using)
            return [link]
        if self.is_helper():
            helper = self.function.helper
            if not all(inp):
                return []
            return helper(*inp)
Create ComponentLinks from the state of the widget
dataset/ETHPy150Open glue-viz/glue/glue/dialogs/link_editor/qt/link_equation.py/LinkEquation.links