Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b60d36e

Browse files
authored
✏️ Fix typo in fastapi/params.py (#12143)
1 parent bde12fa commit b60d36e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastapi/params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def __init__(
556556
kwargs["examples"] = examples
557557
if regex is not None:
558558
warnings.warn(
559-
"`regex` has been depreacated, please use `pattern` instead",
559+
"`regex` has been deprecated, please use `pattern` instead",
560560
category=DeprecationWarning,
561561
stacklevel=4,
562562
)

0 commit comments

Comments
 (0)