Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 3,788 for nope (0.02 sec)

  1. android/guava/src/com/google/common/base/Equivalence.java

       *   <li>If {@code equivalent(x, y)} and {@code equivalent(y, z)} are both true, then {@code
       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
       */
      public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/testing-websockets.md

    # 测试 WebSockets
    
    测试 WebSockets 也使用 `TestClient`。
    
    为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "笔记"
    
    更多细节详见 <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">Starlette 官档 - 测试 WebSockets</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 418 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Foo",
            "price": 42,
            "description": None,
            "tax": None,
            "tags": [],
        }
    
    
    @needs_py310
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

       * stream is longer, its extra elements will be ignored.
       *
       * <p>Note that if you are calling {@link Stream#forEach} on the resulting stream, you might want
       * to consider using {@link #forEachPair} instead of this method.
       *
       * <p><b>Performance note:</b> The resulting stream is not <a
       * href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

       * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...),
       * Predicates.notNull())}, static importing as necessary.
       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Waiting for application startup.
    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note | "Технические детали"
    
    Команда `uvicorn main:app` обращается к:
    
    * `main`: файл `main.py` (модуль Python).
    * `app`: объект, созданный внутри файла `main.py` в строке `app = FastAPI()`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/async-tests.md

    O marcador `@pytest.mark.anyio` informa ao pytest que esta função de teste deve ser invocada de maneira assíncrona:
    
    ```Python hl_lines="7"
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    /// tip | "Dica"
    
    Note que a função de teste é `async def` agora, no lugar de apenas `def` como quando estávamos utilizando o `TestClient` anteriormente.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/response-status-code.md

    * OpenAPIスキーマ(およびユーザーインターフェース)に以下のように文書化します:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image01.png">
    
    /// note | "備考"
    
    いくつかのレスポンスコード(次のセクションを参照)は、レスポンスにボディがないことを示しています。
    
    FastAPIはこれを知っていて、レスポンスボディがないというOpenAPIドキュメントを生成します。
    
    ///
    
    ## HTTPステータスコードについて
    
    /// note | "備考"
    
    すでにHTTPステータスコードが何であるかを知っている場合は、次のセクションにスキップしてください。
    
    ///
    
    HTTPでは、レスポンスの一部として3桁の数字のステータスコードを送信します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Closer.java

     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
     *   throw closer.rethrow(e);
     * } finally {
     *   closer.close();
     * }
     * }</pre>
     *
     * <p>Note that this try-catch-finally block is not equivalent to a try-catch-finally block using
     * try-with-resources. To get the equivalent of that, you must wrap the above code in <i>another</i>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/testing-websockets.md

    You can use the same `TestClient` to test WebSockets.
    
    For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket:
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note
    
    For more details, check Starlette's documentation for <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 448 bytes
    - Viewed (0)
Back to top