Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 362 for Extra (0.01 sec)

  1. tests/test_tutorial/test_request_form_models/test_tutorial002.py

            "/login/", data={"username": "Foo", "password": "secret", "extra": "extra"}
        )
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "extra_forbidden",
                    "loc": ["body", "extra"],
                    "msg": "Extra inputs are not permitted",
                    "input": "extra",
                }
            ]
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-param-models.md

    </div>
    
    ## Zusätzliche Query-Parameter verbieten { #forbid-extra-query-parameters }
    
    In einigen speziellen Anwendungsfällen (wahrscheinlich nicht sehr häufig) möchten Sie möglicherweise die Query-Parameter, die Sie empfangen möchten, **beschränken**.
    
    Sie können die Modellkonfiguration von Pydantic verwenden, um jegliche `extra` Felder zu `verbieten`:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/header-param-models.md

    </div>
    
    ## Как запретить дополнительные заголовки { #forbid-extra-headers }
    
    В некоторых случаях (не особо часто встречающихся) вам может понадобиться **ограничить** заголовки, которые вы хотите получать.
    
    Вы можете использовать возможности конфигурации Pydantic-модели для того, чтобы запретить (`forbid`) любые дополнительные (`extra`) поля:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

            c.cookies.set("session_id", "123")
            c.cookies.set("extra", "track-me-here-too")
            response = c.get("/items/")
        assert response.status_code == 422
        assert response.json() == snapshot(
            {
                "detail": [
                    {
                        "type": "extra_forbidden",
                        "loc": ["cookie", "extra"],
                        "msg": "Extra inputs are not permitted",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/cookie-param-models.md

    But even if you **fill the data** and click "Execute", because the docs UI works with **JavaScript**, the cookies won't be sent, and you will see an **error** message as if you didn't write any values.
    
    ///
    
    ## Forbid Extra Cookies { #forbid-extra-cookies }
    
    In some special use cases (probably not very common), you might want to **restrict** the cookies that you want to receive.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/header-param-models.md

    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Zusätzliche Header verbieten { #forbid-extra-headers }
    
    In einigen speziellen Anwendungsfällen (wahrscheinlich nicht sehr häufig) möchten Sie möglicherweise die **Header einschränken**, die Sie erhalten möchten.
    
    Sie können Pydantics Modellkonfiguration verwenden, um `extra` Felder zu verbieten (`forbid`):
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/cookie-param-models.md

    ///
    
    ## Zusätzliche Cookies verbieten { #forbid-extra-cookies }
    
    In einigen speziellen Anwendungsfällen (wahrscheinlich nicht sehr häufig) möchten Sie möglicherweise die Cookies, die Sie empfangen möchten, **einschränken**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/index.md

    # Advanced Security { #advanced-security }
    
    ## Additional Features { #additional-features }
    
    There are some extra features to handle security apart from the ones covered in the [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    /// tip
    
    The next sections are **not necessarily "advanced"**.
    
    And it's possible that for your use case, the solution is in one of them.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 708 bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/cookie-param-models.md

    ///
    
    ## Proibir Cookies Adicionais { #forbid-extra-cookies }
    
    Em alguns casos especiais (provavelmente não muito comuns), você pode querer **restringir** os cookies que você deseja receber.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/query-param-models.md

    </div>
    
    ## Restrinja Parâmetros de Consulta Extras { #forbid-extra-query-parameters }
    
    Em alguns casos especiais (provavelmente não muito comuns), você queira **restrinjir** os parâmetros de consulta que deseja receber.
    
    Você pode usar a configuração do modelo Pydantic para `forbid` (proibir) qualquer campo `extra`:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top