Vaibhav
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
fastapi/params.py
|
|
@ -556,7 +556,7 @@ class Body(FieldInfo): |
|
|
|
kwargs["examples"] = examples |
|
|
|
if regex is not None: |
|
|
|
warnings.warn( |
|
|
|
"`regex` has been depreacated, please use `pattern` instead", |
|
|
|
"`regex` has been deprecated, please use `pattern` instead", |
|
|
|
category=DeprecationWarning, |
|
|
|
stacklevel=4, |
|
|
|
) |
|
|
|