Skip to content

Commit ebac137

Browse files
committed
docs: fix fastapi ext demo
Signed-off-by: Joël Séguillon <[email protected]>
1 parent fe2ef4b commit ebac137

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)