Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,031 for wait (0.04 seconds)

  1. docs/en/docs/contributing.md

    # Development - Contributing
    
    First, you might want to see the basic ways to [help FastAPI and get help](help-fastapi.md).
    
    ## Developing
    
    If you already cloned the [fastapi repository](https://github.com/fastapi/fastapi) and you want to deep dive in the code, here are some guidelines to set up your environment.
    
    ### Install requirements
    
    Create a virtual environment and install the required packages with [`uv`](https://github.com/astral-sh/uv):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. docs/en/docs/release-notes.md

    * Fix typos in Async docs. PR [#1423](https://github.com/tiangolo/fastapi/pull/1423).
    
    ## 0.54.2 (2020-05-16)
    
    * Add translation to Spanish for [Concurrency and async / await - Concurrencia y async / await](https://fastapi.tiangolo.com/es/async/). PR [#1290](https://github.com/tiangolo/fastapi/pull/1290) by [@alvaropernas](https://github.com/alvaropernas).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous pourriez le faire avec `openapi_extra` :
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial006_py310.py hl[19:36, 39:40] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. tests/test_dependency_class.py

    async def get_async_callable_dependency_class(
        value: str, instance: AsyncCallableDependency = Depends()
    ):
        return await instance(value)
    
    
    @app.get("/async-callable-gen-dependency-class")
    async def get_async_callable_gen_dependency_class(
        value: str, instance: AsyncCallableGenDependency = Depends()
    ):
        return await instance(value).__anext__()
    
    
    @app.get("/callable-dependency")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/header-param-models.md

    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Forbid Extra Headers { #forbid-extra-headers }
    
    In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive.
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. docs/fr/docs/project-generation.md

    Les modèles, bien qu'ils soient généralement livrés avec une configuration spécifique, sont conçus pour être flexibles et personnalisables. Cela vous permet de les modifier et de les adapter aux exigences de votre projet, ce qui en fait un excellent point de départ. 🏁
    
    Vous pouvez utiliser ce modèle pour démarrer, car il inclut une grande partie de la configuration initiale, la sécurité, la base de données et quelques endpoints d'API déjà prêts pour vous.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/stream-data.md

    通过使用 `with` 代码块,我们确保在生成器函数(带有 `yield` 的函数)完成后关闭这个类文件对象。也就是在发送完响应之后。
    
    在这个特定示例中这并不那么重要,因为它是一个内存中的假文件(使用 `io.BytesIO`),但对于真实文件,确保在完成相关工作后关闭文件是很重要的。
    
    ### 文件与异步 { #files-and-async }
    
    大多数情况下,类文件对象默认与 async 和 await 不兼容。
    
    例如,它们没有 `await file.read()`,也不支持 `async for chunk in file`。
    
    而且很多情况下,读取它们是一个阻塞操作(可能会阻塞事件循环),因为数据来自磁盘或网络。
    
    /// info | 信息
    
    上面的示例其实是个例外,因为 `io.BytesIO` 对象已经在内存中,所以读取它不会阻塞。
    
    但在许多情况下,读取文件或类文件对象会发生阻塞。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_async_tests/test_main_a.py

    import pytest
    
    from docs_src.async_tests.app_a_py310.test_main import test_root
    
    
    @pytest.mark.anyio
    async def test_async_testing():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 155 bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
              latch.countDown()
            }
          },
        )
        latch.await()
        assertThat(call.isCanceled()).isTrue()
        assertThat(exceptionRef.get()).isNotNull()
      }
    
      @Test
      fun timeoutProcessing() {
        server.enqueue(
          MockResponse
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial001_py310.py hl[6] *}
    
    ### Using the *path operation function* name as the operationId { #using-the-path-operation-function-name-as-the-operationid }
    
    If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`.
    
    You should do it after adding all your *path operations*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top