Python Docstring: how to document a function that returned an other function?

58 Views Asked by At

I do Flask app. How to document a function that returned an other function?

@mod.route('/report')
def function():
    """"
    Function call 'function_2' for display report
    :return: function_2
    :rtype: 
    """
    return function_2(data=data, template="/report.html")
0

There are 0 best solutions below