Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 780 for tutorial005_py310 (0.26 seconds)

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

  1. docs/zh-hant/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    該字串會被檢查是否為有效的 URL,並在 JSON Schema / OpenAPI 中相應註記。
    
    ## 具有子模型列表的屬性 { #attributes-with-lists-of-submodels }
    
    你也可以將 Pydantic 模型作為 `list`、`set` 等的子型別使用:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    這會期望(並進行轉換、驗證、文件化等)如下的 JSON 本文:
    
    ```JSON hl_lines="11"
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    The string will be checked to be a valid URL, and documented in JSON Schema / OpenAPI as such.
    
    ## Attributes with lists of submodels { #attributes-with-lists-of-submodels }
    
    You can also use Pydantic models as subtypes of `list`, `set`, etc.:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    이 문자열은 유효한 URL인지 검사되며, JSON Schema / OpenAPI에도 그에 맞게 문서화됩니다.
    
    ## 서브모델 리스트를 갖는 어트리뷰트 { #attributes-with-lists-of-submodels }
    
    `list`, `set` 등의 서브타입으로 Pydantic 모델을 사용할 수도 있습니다:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    아래와 같은 JSON 본문을 예상(변환, 검증, 문서화 등)합니다:
    
    ```JSON hl_lines="11"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. docs/ja/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 14:07:17 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/server-sent-events.md

    你可以将其读取为一个请求头参数,并据此从客户端离开的地方恢复流:
    
    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## 使用 POST 的 SSE { #sse-with-post }
    
    SSE 适用于**任意 HTTP 方法**,不仅仅是 `GET`。
    
    这对像 [MCP](https://modelcontextprotocol.io) 这样通过 `POST` 传输 SSE 的协议很有用:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## 技术细节 { #technical-details }
    
    FastAPI 开箱即用地实现了一些 SSE 的最佳实践。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. pyproject.toml

    "docs_src/security/tutorial004_an_py39.py" = ["B904"]
    "docs_src/security/tutorial004_py310.py" = ["B904"]
    "docs_src/security/tutorial004_py39.py" = ["B904"]
    "docs_src/security/tutorial005_an_py310.py" = ["B904"]
    "docs_src/security/tutorial005_an_py39.py" = ["B904"]
    "docs_src/security/tutorial005_py310.py" = ["B904"]
    "docs_src/security/tutorial005_py39.py" = ["B904"]
    "docs_src/json_base64_bytes/tutorial001_py310.py" = ["UP012"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    ## docstringによる説明の高度な設定 { #advanced-description-from-docstring }
    
    *path operation関数* のdocstringからOpenAPIに使用する行を制限できます。
    
    `\f`(エスケープされた「書式送り(form feed)」文字)を追加すると、**FastAPI** はその地点でOpenAPIに使用される出力を切り詰めます。
    
    ドキュメントには表示されませんが、他のツール(Sphinxなど)は残りの部分を利用できます。
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  8. docs/ja/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:55:22 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial001_py310.py hl[6] *}
    
    ### 使用路徑操作函式(path operation function)的名稱作為 operationId { #using-the-path-operation-function-name-as-the-operationid }
    
    如果你想用 API 的函式名稱作為 `operationId`,你可以遍歷所有路徑,並使用各自的 `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 17:05:38 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. docs/zh/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`,你可以遍历所有路径操作,并使用它们的 `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 17:06:37 GMT 2026
    - 6.7K bytes
    - Click Count (0)
Back to Top