A simple function like this:
@app.get(path="/")
def read_root():
raise ArithmeticError("Divide by zero")
I want to get the decorator information outside the function, for example: its name is: 'get', and its parameters have path="/"
A simple function like this:
@app.get(path="/")
def read_root():
raise ArithmeticError("Divide by zero")
I want to get the decorator information outside the function, for example: its name is: 'get', and its parameters have path="/"