Skip to content

Commit 44cb353

Browse files
Fix example in ASGI frameworks doc
1 parent ddf531b commit 44cb353

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/asgi-frameworks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Let's invent an API for a non-existent microframework to demonstrate things furt
1313
```python
1414
import mangum.adapter
1515
import framework
16-
from mangum import Mangum, Request
16+
from mangum import Mangum
1717

1818
app = framework.applications.Application()
1919

2020

2121
@app.route("/")
22-
def endpoint(request: Request) -> dict:
22+
def endpoint(request: framework.requests.Request) -> dict:
2323
return {"hi": "there"}
2424

2525

0 commit comments

Comments
 (0)