Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 209 for forbid (0.03 seconds)

  1. docs/es/docs/tutorial/header-param-models.md

    Puedes ver los headers requeridos en la interfaz de documentación en `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Prohibir Headers Extra { #forbid-extra-headers }
    
    En algunos casos de uso especiales (probablemente no muy comunes), podrías querer **restringir** los headers que deseas recibir.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/query-param-models.md

    你可以在 `/docs` 页面的 UI 中查看查询参数:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## 禁止额外的查询参数
    
    在一些特殊的使用场景中(可能不是很常见),你可能希望**限制**你要接收的查询参数。
    
    你可以使用 Pydantic 的模型配置来 `forbid`(意为禁止 —— 译者注)任何 `extra`(意为额外的 —— 译者注)字段:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    假设有一个客户端尝试在**查询参数**中发送一些**额外的**数据,它将会收到一个**错误**响应。
    
    例如,如果客户端尝试发送一个值为 `plumbus` 的 `tool` 查询参数,如:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Nov 26 22:06:31 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/query-param-models.md

    Sie können die Query-Parameter in der Dokumentations-Oberfläche unter `/docs` einsehen:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </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**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. docs/uk/docs/tutorial/query-param-models.md

    У деяких особливих випадках (ймовірно, не дуже поширених) Ви можете захотіти **обмежити** query параметри, які дозволено отримувати.
    
    Ви можете використати конфігурацію моделі Pydantic, щоб заборонити (`forbid`) будь-які зайві (`extra`) поля:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Якщо клієнт спробує надіслати **зайві** дані у **query параметрах**, він отримає **помилку**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Jun 05 12:12:04 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. docs/uk/docs/tutorial/request-form-models.md

    /// note | Підказка
    
    Ця функція підтримується, починаючи з FastAPI версії `0.114.0`. 🤓
    
    ///
    
    Ви можете використати конфігурацію Pydantic-моделі, щоб заборонити `forbid` будь-які додаткові `extra` поля:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    Якщо клієнт спробує надіслати додаткові дані, він отримає **відповідь з помилкою**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Feb 20 14:16:09 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/graph/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/hash/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/escape/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/eventbus/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
Back to Top