Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 401 for extra (0.02 sec)

  1. docs/ru/docs/tutorial/request-form-models.md

    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## Заключение
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:17:36 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-param-models.md

    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Forbid Extra Query Parameters { #forbid-extra-query-parameters }
    
    In some special use cases (probably not very common), you might want to **restrict** the query parameters that you want to receive.
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/request-form-models.md

    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## Підсумок
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Feb 20 14:16:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    If a client tries to send some extra data, they will receive an **error** response.
    
    For example, if the client tries to send the form fields:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    They will receive an error response telling them that the field `extra` is not allowed:
    
    ```json
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/header-param-models.md

    </div>
    
    ## Prohibir Headers Extra
    
    En algunos casos de uso especiales (probablemente no muy comunes), podrías querer **restringir** los headers que deseas recibir.
    
    Puedes usar la configuración del modelo de Pydantic para `prohibir` cualquier campo `extra`:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Si un cliente intenta enviar algunos **headers extra**, recibirán un response de **error**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/header-param-models.md

    </div>
    
    ## Forbid Extra Headers { #forbid-extra-headers }
    
    In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive.
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra headers**, they will receive an **error** response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-fields.md

    ///
    
    ## Add extra information { #add-extra-information }
    
    You can declare extra information in `Field`, `Query`, `Body`, etc. And it will be included in the generated JSON Schema.
    
    You will learn more about adding extra information later in the docs, when learning to declare examples.
    
    /// warning
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/request-form-models.md

    이 기능은 FastAPI 버전 `0.114.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    클라이언트가 추가 데이터를 보내려고 하면 **오류** 응답을 받게 됩니다.
    
    예를 들어, 클라이언트가 폼 필드를 보내려고 하면:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    `extra` 필드가 허용되지 않는다는 오류 응답을 받게 됩니다:
    
    ```json
    {
        "detail": [
            {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:44:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/cookie-param-models.md

    Puedes usar la configuración del modelo de Pydantic para `prohibir` cualquier campo `extra`:
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *}
    
    Si un cliente intenta enviar algunas **cookies extra**, recibirán un response de **error**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/header-param-models.md

    Você pode usar a configuração dos modelos do Pydantic para proibir (`forbid`) quaisquer campos `extra`:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Se um cliente tentar enviar alguns **cabeçalhos extra**, eles irão receber uma resposta de **erro**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top