Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 911 - 920 of 1,031 for wait (0.06 seconds)

  1. README.md

    Used by Starlette:
    
    * [`httpx`](https://www.python-httpx.org) - Required if you want to use the `TestClient`.
    * [`jinja2`](https://jinja.palletsprojects.com) - Required if you want to use the default template configuration.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. dbflute_fess/dfprop/basicInfoMap.dfprop

        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o projectPrefix: (NotRequired - Default '')
        #  If the value is 'Ld', all class names are 'LdXxx'.
        #  Basically you don't need this if you don't want the common prefix of class name.
        #
        #; projectPrefix = Ld
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.2K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

          assertEquals(cancelMode == INTERRUPT, Thread.interrupted())
        }
        responseBody.close()
        assertEquals(if (connectionType == H2) 1 else 0, client.connectionPool.connectionCount())
    
        cancelLatch.await()
    
        val events = eventRecorder.eventSequence.filter { isConnectionEvent(it) }.map { it.name }
        eventRecorder.clearAllEvents()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForVector() {
        return emptySet();
      }
    
      @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForVector() {
        return emptySet();
      }
    
      @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/testing.md

    /// tip | Tipp
    
    Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind.
    
    Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.
    
    Dadurch können Sie `pytest` ohne Komplikationen direkt nutzen.
    
    ///
    
    /// note | Technische Details
    
    Sie könnten auch `from starlette.testclient import TestClient` verwenden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. cmd/admin-handlers-idp-openid.go

    		if !ok {
    			continue // OpenID access keys must have a sub claim
    		}
    		if (!listSTSKeys && !accessKey.IsServiceAccount()) || (!listServiceAccounts && accessKey.IsServiceAccount()) {
    			continue // skip if not the type we want
    		}
    		arn, ok := accessKey.Claims[roleArnClaim].(string)
    		if !ok {
    			if _, ok := accessKey.Claims[iamPolicyClaimNameOpenID()]; !ok {
    				continue // skip if no roleArn and no policy claim
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 06 17:38:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. docs/fr/docs/help-fastapi.md

    * Ensuite, **commentez** en disant que vous l'avez fait, c'est ainsi que je saurai que vous l'avez vraiment vérifié.
    
    /// info
    
    Malheureusement, je ne peux pas simplement faire confiance aux PR qui ont juste plusieurs approbations.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 14.6K bytes
    - Click Count (0)
Back to Top