Decorator
Also written: decorators
A line starting with `@` above a function that registers or changes it. In FastAPI, `@app.post("/ask")` registers the function as the handler for POST requests to `/ask`.
Also written: decorators
A line starting with `@` above a function that registers or changes it. In FastAPI, `@app.post("/ask")` registers the function as the handler for POST requests to `/ask`.