Browse Source

Use highest version of variant in `cookie-param-models.md`

pull/14413/head
Yurii Motov 8 months ago
parent
commit
dc99673d65
  1. 2
      docs/en/docs/tutorial/cookie-param-models.md

2
docs/en/docs/tutorial/cookie-param-models.md

@ -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…
Cancel
Save