def function_label(function):
    name = function.function.__name__
    args = getargspec(function.function)[0]
    args = ', '.join(args)
    output = function.output_labels
    output = ', '.join(output)
    label = "Link from %s to %s" % (args, output)
    return label
Provide a label for a function
dataset/ETHPy150Open glue-viz/glue/glue/dialogs/link_editor/qt/link_equation.py/function_label