Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 420 for forced (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/pt/docs/tutorial/testing.md

    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    rootdir: /home/user/code/superawesome-cli/app
    plugins: forked-1.1.3, xdist-1.31.0, cov-2.8.1
    collected 6 items
    
    ---> 100%
    
    test_main.py <span style="color: green; white-space: pre;">......                            [100%]</span>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/TransportTest.java

                assertFalse(transport.disconnect(false));
                assertEquals(6, transport.state); // Should be disconnected
            }
    
            @Test
            @DisplayName("disconnect should force hard disconnect from run connected state")
            void shouldForceHardDisconnectFromRunConnected() throws IOException {
                transport.setState(2); // Run connected
                assertFalse(transport.disconnect(false));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
       * <p>{@code EqualsTester} will always check that every object it is given returns false from
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/request-form-models.md

    일부 특별한 사용 사례(흔하지는 않겠지만)에서는 Pydantic 모델에서 정의한 폼 필드를 **제한**하길 원할 수도 있습니다. 그리고 **추가** 필드를 **금지**할 수도 있습니다.
    
    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.114.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    클라이언트가 추가 데이터를 보내려고 하면 **오류** 응답을 받게 됩니다.
    
    예를 들어, 클라이언트가 폼 필드를 보내려고 하면:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 09 12:44:27 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. docs/zh-hant/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` 查詢參數,如:
    
    ```http
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 27 22:14:10 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

     * and resolving SMB resources.
     *
     * @author mbechler
     */
    public interface SmbResourceLocatorInternal extends SmbResourceLocator {
    
        /**
         * Determines whether SMB signing should be enforced for connections to this resource.
         *
         * @return whether to enforce the use of signing on connection to this resource
         */
        boolean shouldForceSigning();
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. guava-testlib/src/com/google/common/testing/EqualsTester.java

       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
       * <p>{@code EqualsTester} will always check that every object it is given returns false from
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/header-param-models.md

    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## 禁止额外的 Headers
    
    在某些特殊使用情况下(可能并不常见),您可能希望**限制**您想要接收的 headers。
    
    您可以使用 Pydantic 的模型配置来禁止( `forbid` )任何额外( `extra` )字段:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    如果客户尝试发送一些**额外的 headers**,他们将收到**错误**响应。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 15 16:44:11 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top