Skip to content

Commit 1b37514

Browse files
committed
typo in docs: replace Non with None
1 parent a3ac75e commit 1b37514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/how_to_guides/querystring_validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ to a list using a ``BeforeValidator``,
131131
return [value]
132132
133133
class Query(BaseModel):
134-
keys: Annotated[Optional[List[str]], BeforeValidator(_to_list)] = Non
134+
keys: Annotated[Optional[List[str]], BeforeValidator(_to_list)] = None
135135
136136
@app.route("/")
137137
@validate_querystring(Query)

0 commit comments

Comments
 (0)