Skip to content

Commit 147f1c4

Browse files
docs: fix fastapi ext demo (#776)
Signed-off-by: Joël Séguillon <joel.seguillon@gmail.com> Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com>
1 parent 79e3953 commit 147f1c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daprdocs/content/en/python-sdk-docs/python-sdk-extensions/python-fastapi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class RawEventModel(BaseModel):
4747

4848
class User(BaseModel):
4949
id: int
50-
name = 'Jane Doe'
50+
name: str
5151

5252
class CloudEventModel(BaseModel):
5353
data: User

0 commit comments

Comments
 (0)