Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 347 for Starlette (0.05 seconds)

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

  1. docs/ja/docs/how-to/custom-request-and-route.md

    `Request` には `request.receive` もあり、これはリクエストの本体を「受信」するための関数です。
    
    `scope` の `dict` と `receive` 関数はいずれも ASGI 仕様の一部です。
    
    そしてこの 2 つ(`scope` と `receive`)が、新しい `Request` インスタンスを作成するために必要なものです。
    
    `Request` について詳しくは、[Starlette の Requests に関するドキュメント](https://www.starlette.dev/requests/) を参照してください。
    
    ///
    
    `GzipRequest.get_route_handler` が返す関数が異なるのは、`Request` を `GzipRequest` に変換する点だけです。
    
    これにより、`GzipRequest` は必要に応じてデータを解凍してから *path operations* に渡します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[1] *}
    
    `FastAPI` 是一个为你的 API 提供了所有功能的 Python 类。
    
    /// note | 技术细节
    
    `FastAPI` 是直接从 `Starlette` 继承的类。
    
    你可以通过 `FastAPI` 使用所有的 [Starlette](https://www.starlette.dev/) 的功能。
    
    ///
    
    ### 步骤 2:创建一个 `FastAPI`「实例」 { #step-2-create-a-fastapi-instance }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  3. docs/ja/docs/history-design-future.md

    いくつかの代替手法を試したあと、私は[**Pydantic**](https://docs.pydantic.dev/)の強みを利用することを決めました。
    
    そして、JSON Schemaに完全に準拠するようにしたり、制約宣言を定義するさまざまな方法をサポートしたり、いくつかのエディターでのテストに基づいてエディターのサポート (型チェック、自動補完) を改善するために貢献しました。
    
    開発中、もう1つの重要な鍵となる[**Starlette**](https://www.starlette.dev/)にも貢献しました。
    
    ## 開発 { #development }
    
    私が**FastAPI**自体の作成を開始した時には、ほとんどの部分がすでに準備されており、設計が定義され、必要な条件とツールの準備ができていました。そして規格や仕様に関する知識が、明確になり、更新されていました。
    
    ## これから { #future }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. docs/ko/docs/index.md

    **Typer**는 FastAPI의 동생입니다. 그리고 **CLI를 위한 FastAPI**가 되기 위해 생겼습니다. ⌨️ 🚀
    
    ## 요구사항 { #requirements }
    
    FastAPI는 거인들의 어깨 위에 서 있습니다:
    
    * [Starlette](https://www.starlette.dev/) — 웹 부분을 담당합니다.
    * [Pydantic](https://docs.pydantic.dev/) — 데이터 부분을 담당합니다.
    
    ## 설치 { #installation }
    
    [가상 환경](https://fastapi.tiangolo.com/ko/virtual-environments/)을 생성하고 활성화한 다음 FastAPI를 설치하세요:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/cors.md

    /// note | 技術詳細
    
    `from starlette.middleware.cors import CORSMiddleware` も使用できます。
    
    **FastAPI** は、開発者の利便性を高めるために、`fastapi.middleware` でいくつかのミドルウェアを提供します。利用可能なミドルウェアのほとんどは、Starletteから直接提供されています。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. docs/en/mkdocs.yml

          python:
            options:
              extensions:
              - griffe_typingdoc
              show_root_heading: true
              show_if_no_docstring: true
              preload_modules:
              - httpx
              - starlette
              inherited_members: true
              members_order: source
              separate_signature: true
              unwrap_annotated: true
              filters:
              - '!^_'
              merge_init_into_class: true
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/async.md

    這就是為什麼對於 Web API 來說,使用非同步程式碼 ⏸🔀⏯ 是非常有意味的。
    
    這種類型的非同步性正是 NodeJS 成功的原因(儘管 NodeJS 不是平行的),這也是 Go 語言作為程式語言的一個強大優勢。
    
    這與 **FastAPI** 所能提供的性能水平相同。
    
    你可以同時利用並行性和平行性,進一步提升效能,這比大多數已測試的 NodeJS 框架都更快,並且與 Go 語言相當,而 Go 是一種更接近 C 的編譯語言([感謝 Starlette](https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1))。
    
    ### 並行比平行更好嗎? { #is-concurrency-better-than-parallelism }
    
    不是的!這不是故事的本意。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  8. docs/zh/docs/async.md

    这就是为什么使用异步对于 Web API 很有意义的原因 ⏸🔀⏯。
    
    这种异步机制正是 NodeJS 受到欢迎的原因(尽管 NodeJS 不是并行的),以及 Go 作为编程语言的优势所在。
    
    这与 **FastAPI** 的性能水平相同。
    
    你可以同时拥有并行性和异步性,你可以获得比大多数经过测试的 NodeJS 框架更高的性能,并且与 Go 不相上下, Go 是一种更接近于 C 的编译语言([全部归功于 Starlette](https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1))。
    
    ### 并发比并行好吗? { #is-concurrency-better-than-parallelism }
    
    不!这不是故事的本意。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  9. docs/en/docs/async.md

    And as you can have parallelism and asynchronicity at the same time, you get higher performance than most of the tested NodeJS frameworks and on par with Go, which is a compiled language closer to C [(all thanks to Starlette)](https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1).
    
    ### Is concurrency better than parallelism? { #is-concurrency-better-than-parallelism }
    
    Nope! That's not the moral of the story.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  10. fastapi/applications.py

    from fastapi.utils import generate_unique_id
    from starlette.applications import Starlette
    from starlette.datastructures import State
    from starlette.exceptions import HTTPException
    from starlette.middleware import Middleware
    from starlette.middleware.base import BaseHTTPMiddleware
    from starlette.middleware.errors import ServerErrorMiddleware
    from starlette.middleware.exceptions import ExceptionMiddleware
    from starlette.requests import Request
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
Back to Top