0

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="/"

zhizunbao
  • 69
  • 4

0 Answers0