Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 980 for tutorial005_py310 (0.16 seconds)

  1. docs/ja/docs/tutorial/path-params.md

    そして、固定値のクラス属性を作ります。すると、その値が使用可能な値となります:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[1,6:9] *}
    
    /// tip | 豆知識
    
    "AlexNet"、"ResNet"そして"LeNet"は機械学習<dfn title="厳密には、Deep Learning のモデルアーキテクチャ">モデル</dfn>の名前です。
    
    ///
    
    ### *パスパラメータ*の宣言 { #declare-a-path-parameter }
    
    次に、作成したenumクラスである`ModelName`を使用した型アノテーションをもつ*パスパラメータ*を作成します:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}
    
    ### ドキュメントの確認 { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/path-params.md

    然後建立具有固定值的類別屬性,這些就是可用的有效值:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[1,6:9] *}
    
    /// tip
    
    如果你在想,「AlexNet」、「ResNet」和「LeNet」只是一些機器學習 <dfn title="嚴格來說是深度學習的模型架構">模型</dfn> 的名字。
    
    ///
    
    ### 宣告一個「路徑參數」 { #declare-a-path-parameter }
    
    接著使用你建立的列舉類別(`ModelName`)作為型別註記,建立一個「路徑參數」:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}
    
    ### 查看文件 { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    It will be used in the interactive docs:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Response description { #response-description }
    
    You can specify the response description with the parameter `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    這會用於互動式文件:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## 回應描述 { #response-description }
    
    你可以用參數 `response_description` 指定回應的描述:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *}
    
    /// info | 資訊
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial001_py310.py hl[6] *}
    
    ### *경로 처리 함수* 이름을 operationId로 사용하기 { #using-the-path-operation-function-name-as-the-operationid }
    
    API의 함수 이름을 `operationId`로 사용하고 싶다면, 모든 API를 순회하면서 `APIRoute.name`을 사용해 각 *경로 처리*의 `operation_id`를 덮어쓸 수 있습니다.
    
    모든 *경로 처리*를 추가한 뒤에 수행해야 합니다.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *}
    
    /// tip | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE with POST { #sse-with-post }
    
    SSE works with **any HTTP method**, not just `GET`.
    
    This is useful for protocols like [MCP](https://modelcontextprotocol.io) that stream SSE over `POST`:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## Technical Details { #technical-details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/server-sent-events.md

    헤더 파라미터로 이를 읽어와 클라이언트가 중단한 지점부터 스트림을 재개할 수 있습니다:
    
    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## POST로 SSE 사용하기 { #sse-with-post }
    
    SSE는 `GET`뿐만 아니라 **모든 HTTP 메서드**와 함께 동작합니다.
    
    이는 `POST`로 SSE를 스트리밍하는 [MCP](https://modelcontextprotocol.io) 같은 프로토콜에 유용합니다:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## 기술 세부사항 { #technical-details }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial005_py310.py hl[6] *}
    
    If you open the automatic API docs, your extension will show up at the bottom of the specific *path operation*.
    
    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    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)
  9. docs/en/docs/tutorial/query-params.md

    But when you want to make a query parameter required, you can just not declare any default value:
    
    {* ../../docs_src/query_params/tutorial005_py310.py hl[6:7] *}
    
    Here the query parameter `needy` is a required query parameter of type `str`.
    
    If you open in your browser a URL like:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial005_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
    
        client = TestClient(mod.app)
        return client
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10.3K bytes
    - Click Count (0)
Back to Top