Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1821 - 1830 of 1,902 for Try (0.02 seconds)

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

  1. docs/changelogs/changelog_2x.md

        old, obsolete servers relying on these cipher suites, you must create a
        custom `ConnectionSpec`.
    
     *  **Beta WebSockets support.**. The `okhttp-ws` subproject offers a new
        websockets client. Please try it out! When it's ready we intend to include
        it with the core OkHttp library.
    
     *  **Okio updated to 1.3.0.**
    
        ```xml
        <dependency>
          <groupId>com.squareup.okio</groupId>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  2. fastapi/routing.py

                            inserting keepalive comments on timeout."""
                            async with send_keepalive, receive_stream:
                                try:
                                    while True:
                                        try:
                                            with anyio.fail_after(_PING_INTERVAL):
                                                data = await receive_stream.receive()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/dependencies/dependencies-with-yield.md

    Можете використовувати як `async`, так і звичайні функції.
    
    **FastAPI** зробить усе правильно з кожною з них, так само як і зі звичайними залежностями.
    
    ///
    
    ## Залежність з `yield` та `try` { #a-dependency-with-yield-and-try }
    
    Якщо ви використовуєте блок `try` в залежності з `yield`, ви отримаєте будь-який виняток, який був згенерований під час використання залежності.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial007_py310.py

    async def get_db():
        db = DBSession()
        try:
            yield db
        finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 99 bytes
    - Click Count (0)
  5. docs/ja/docs/index.md

    次に、[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) にアクセスします。
    
    * 自動対話型 API ドキュメントは新しいボディも含めて自動でアップデートされます。
    
    ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    * 「Try it out」ボタンをクリックします。パラメータを入力して API と直接やりとりできます。
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-04-swagger-03.png)
    
    * 次に、「Execute」ボタンをクリックします。ユーザーインターフェースは API と通信し、パラメータを送信し、結果を取得して画面に表示します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        client =
          OkHttpClient
            .Builder()
            .dns { hostname: String? -> throw UnknownHostException("reason") }
            .addInterceptor(applicationInterceptor)
            .build()
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
        } catch (expected: UnknownHostException) {
        }
        applicationLogs
          .assertLogEqual("--> GET $url")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/index.md

    前往 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。
    
    * 互動式 API 文件會自動更新,包含新的 body:
    
    ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    * 點擊「Try it out」按鈕,你可以填寫參數並直接與 API 互動:
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-04-swagger-03.png)
    
    * 然後點擊「Execute」按鈕,使用者介面會與你的 API 溝通、送出參數、取得結果並顯示在螢幕上:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

        long[][] arrays = new long[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        long[] sharedArray = new long[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Longs.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      private static void assertByteArrayEquals(byte[] expected, byte[] actual) {
        assertWithMessage(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/websockets.md

    Em sua rota WebSocket você pode esperar (`await`) por mensagens e enviar mensagens.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    Você pode receber e enviar dados binários, de texto e JSON.
    
    ## Tente { #try-it }
    
    Coloque seu código em um arquivo `main.py` e então execute sua aplicação:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      // throws it, unlike the JDK.  Therefore, we accept ClassCastException as a
      // valid result thrown by java.util.TreeSet#equals.
      private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) {
        try {
          assertThat(actual).isNotEqualTo(unexpected);
        } catch (ClassCastException accepted) {
        }
      }
    
      public void testHeadSetInclusive() {
        String[] strings = NUMBER_NAMES.toArray(new String[0]);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
Back to Top