using flask, how can i print the url path that is been assign to my function form the decorator @route with out having to do the request from internet.
example:
@app.route('/hello')
def hello():
"""
the hello function
@documentation
:return: string
"""
return 'Hello, World!'
i want to be able to do:
hello.__doc__ = "This is the path to the function:" + the_full_URL_assigned_form_@app.route
at the end should look like this
hello.__doc__ = "This is the path to the function: /hello"