Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 367 for starlette (0.05 seconds)

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

  1. fastapi/concurrency.py

    from typing import TypeVar
    
    import anyio.to_thread
    from anyio import CapacityLimiter
    from starlette.concurrency import iterate_in_threadpool as iterate_in_threadpool  # noqa
    from starlette.concurrency import run_in_threadpool as run_in_threadpool  # noqa
    from starlette.concurrency import (  # noqa
        run_until_first_complete as run_until_first_complete,
    )
    
    _T = TypeVar("_T")
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Sie können mehr Details unter [„Lifespan in Tests ausführen in der offiziellen Starlette-Dokumentation.“](https://www.starlette.dev/lifespan/#running-lifespan-in-tests) nachlesen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 740 bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    Você pode ler mais detalhes sobre o ["Executando lifespan em testes no site oficial da documentação do Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Para os eventos `startup` e `shutdown` descontinuados, você pode usar o `TestClient` da seguinte forma:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 687 bytes
    - Click Count (0)
  4. docs/ja/docs/advanced/behind-a-proxy.md

    ## パスプレフィックスを削除するプロキシ { #proxy-with-a-stripped-path-prefix }
    
    アプリケーションにパスプレフィックスを付与するプロキシを使う場合があります。
    
    そのような場合は `root_path` でアプリケーションを設定できます。
    
    `root_path` は(FastAPI が Starlette を通して基づいている)ASGI 仕様で提供されている仕組みです。
    
    `root_path` はこの種のケースを扱うために使われます。
    
    これはサブアプリケーションをマウントする際にも内部的に使用されます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  5. docs/uk/docs/advanced/additional-status-codes.md

    ///
    
    /// note | Технічні деталі
    
    Ви також можете використати `from starlette.responses import JSONResponse`.
    
    **FastAPI** надає ті самі `starlette.responses` як `fastapi.responses` просто для вашої зручності як розробника. Але більшість доступних відповідей надходить безпосередньо зі Starlette. Те саме і зі `status`.
    
    ///
    
    ## OpenAPI і документація API { #openapi-and-api-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. docs/tr/docs/tutorial/static-files.md

    {* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *}
    
    /// note | Teknik Detaylar
    
    `from starlette.staticfiles import StaticFiles` da kullanabilirsiniz.
    
    **FastAPI**, geliştirici olarak size kolaylık olsun diye `starlette.staticfiles`'ı `fastapi.staticfiles` olarak da sağlar. Ancak aslında doğrudan Starlette'den gelir.
    
    ///
    
    ### "Mounting" Nedir { #what-is-mounting }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/additional-status-codes.md

    当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。
    
    它不会用模型等进行序列化。
    
    确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。
    
    ///
    
    /// note | 技术细节
    
    你也可以使用 `from starlette.responses import JSONResponse`。 
    
    出于方便,**FastAPI** 为开发者提供同 `starlette.responses` 一样的 `fastapi.responses`。但是大多数可用的响应都是直接来自 Starlette。`status` 也是一样。
    
    ///
    
    ## OpenAPI 和 API 文档 { #openapi-and-api-docs }
    
    如果你直接返回额外的状态码和响应,它们不会包含在 OpenAPI 方案(API 文档)中,因为 FastAPI 没办法预先知道你要返回什么。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/path-operation-configuration.md

    Цей код статусу буде використано у відповіді та додано до схеми OpenAPI.
    
    /// note | Технічні деталі
    
    Ви також можете використати `from starlette import status`.
    
    FastAPI надає той самий `starlette.status` як `fastapi.status` для вашої зручності як розробника. Але він походить безпосередньо зі Starlette.
    
    ///
    
    ## Мітки { #tags }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/middleware.md

    ///
    
    /// note | Технічні деталі
    
    Ви також можете використати `from starlette.requests import Request`.
    
    **FastAPI** надає це для вашої зручності як розробника. Але воно походить безпосередньо зі Starlette.
    
    ///
    
    ### До і після `response` { #before-and-after-the-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/testing.md

    # Test Etme { #testing }
    
    [Starlette](https://www.starlette.dev/testclient/) sayesinde **FastAPI** uygulamalarını test etmek kolay ve keyiflidir.
    
    Temelde [HTTPX](https://www.python-httpx.org) üzerine kuruludur; HTTPX de Requests’i temel alarak tasarlandığı için oldukça tanıdık ve sezgiseldir.
    
    Bununla birlikte **FastAPI** ile [pytest](https://docs.pytest.org/)'i doğrudan kullanabilirsiniz.
    
    ## `TestClient` Kullanımı { #using-testclient }
    
    /// info | Bilgi
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top