Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 368 for avait (0.02 seconds)

  1. docs/zh-hant/docs/index.md

    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>或使用 <code>async def</code>...</summary>
    
    如果你的程式碼使用 `async` / `await`,請使用 `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    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)
  2. src/test/java/jcifs/util/SecureKeyManagerTest.java

                            }
                        }
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            assertTrue(latch.await(10, TimeUnit.SECONDS), "Concurrent ops should complete");
            executor.shutdown();
    
            assertEquals(threadCount * operationsPerThread, successCount.get(), "All operations should succeed");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    It doesn't matter. **FastAPI** will know what to do.
    
    /// note
    
    If you don't know, check the [Async: *"In a hurry?"*](../../async.md#in-a-hurry) section about `async` and `await` in the docs.
    
    ///
    
    ## Integrated with OpenAPI { #integrated-with-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip
    
    テスト関数は `async def` ではなく、通常の `def` であることに注意してください。
    
    また、クライアントへの呼び出しも通常の呼び出しであり、`await` を使用しません。
    
    これにより、煩雑にならずに、`pytest` を直接使用できます。
    
    ///
    
    /// note | 技術詳細
    
    `from starlette.testclient import TestClient` も使用できます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/dependencies/index.md

    你可以使用 `async def` 或普通的 `def`。
    
    你可以在普通的 `def` *路径操作函数*中声明 `async def` 的依赖项;也可以在异步的 `async def` *路径操作函数*中声明普通的 `def` 依赖项,等等。
    
    都没关系,**FastAPI** 知道该怎么处理。
    
    /// note | 注意
    
    如果不了解异步,请参阅文档中关于 `async` 和 `await` 的章节:[异步:*“着急了?”*](../../async.md#in-a-hurry)。
    
    ///
    
    ## 与 OpenAPI 集成 { #integrated-with-openapi }
    
    依赖项及子依赖项中声明的所有请求、验证和需求都会集成到同一个 OpenAPI 模式中。
    
    因此,交互式文档中也会包含这些依赖项的所有信息:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                futures.add(executor.submit(() -> {
                    try {
                        startLatch.await();
                        for (int i = 0; i < iterationsPerThread; i++) {
                            final Map<String, Object> params = new HashMap<>();
                            params.put("x", threadId * 1000 + i);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  7. docs/tr/docs/index.md

    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Ya da <code>async def</code> kullanalım...</summary>
    
    Eğer kodunuz `async` / `await` kullanıyorsa, `async def` kullanın:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  8. src/main/resources/fess_message_fr.properties

    errors.app.db.already.updated = Il a peut-être été mis à jour par un autre processus. Veuillez réessayer.
    errors.app.db.already.exists = Les données existent déjà. Veuillez réessayer.
    errors.app.double.submit.request = Il a peut-être été traité avant cette requête. Veuillez réessayer.
    # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    # you can define your messages here:
    # e.g.
    # errors.xxx = ...
    # info.xxx = ...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            latch.await(5, TimeUnit.SECONDS);
            executor.shutdown();
    
            // Verify all listeners were added
            assertEquals(numThreads, fesenClient.onConnectListenerList.size());
        }
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/settings.md

    ```
    
    </div>
    
    /// tip | Astuce
    
    Pour définir plusieurs variables d'environnement pour une seule commande, séparez-les simplement par un espace et placez-les toutes avant la commande.
    
    ///
    
    Ainsi, le paramètre `admin_email` sera défini sur « ******@****.*** ».
    
    Le `app_name` sera « ChimichangApp ».
    
    Et `items_per_user` conservera sa valeur par défaut de `50`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top