mirror of https://github.com/tiangolo/fastapi.git
Use highest version of variant in `cookie-param-models.md`
This commit is contained in:
parent
ff9c332f80
commit
dc99673d65
|
|
@ -50,7 +50,7 @@ Your API now has the power to control its own <abbr title="This is a joke, just
|
|||
|
||||
You can use Pydantic's model configuration to `forbid` any `extra` fields:
|
||||
|
||||
{* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *}
|
||||
{* ../../docs_src/cookie_param_models/tutorial002_an_py310.py hl[10] *}
|
||||
|
||||
If a client tries to send some **extra cookies**, they will receive an **error** response.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue