Skip to content

Commit

Permalink
fix: wrong def in pt/docker.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ayr-ton committed Nov 24, 2022
1 parent 4426332 commit 7bd4506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pt/docs/deployment/docker.md
Expand Up @@ -156,7 +156,7 @@ def read_root():


@app.get("/items/{item_id}")
def read_item(item_id: int, q: Optional[str] = None):
def read_item(item_id: int, q: Union[str, None] = None):
return {"item_id": item_id, "q": q}
```

Expand Down

0 comments on commit 7bd4506

Please sign in to comment.