Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ZH (0.01 sec)

  1. docs/zh/docs/tutorial/request-files.md

    * 使用 `spooled` 文件:
        * 存储在内存的文件超出最大上限时,FastAPI 会把文件存入磁盘;
    * 这种方式更适于处理图像、视频、二进制文件等大型文件,好处是不会占用所有内存;
    * 可获取上传文件的元数据;
    * 自带 <a href="https://docs.python.org/zh-cn/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` 接口;
    * 暴露的 Python <a href="https://docs.python.org/zh-cn/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> 对象,可直接传递给其他预期「file-like」对象的库。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. docs/language_names.yml

    ug: ئۇيغۇرچە‎
    uk: українська мова
    ur: اردو
    uz: Ўзбек
    ve: Tshivenḓa
    vi: Tiếng Việt
    vo: Volapük
    wa: walon
    wo: Wollof
    xh: isiXhosa
    yi: ייִדיש
    yo: Yorùbá
    za: Saɯ cueŋƅ
    zh: 简体中文
    zh-hant: 繁體中文
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jan 22 19:42:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/zh/llm-prompt.md

    ### Target language
    
    Translate to Simplified Chinese (简体中文).
    
    Language code: zh.
    
    ### Grammar and tone
    
    1) Use clear, concise technical Chinese consistent with existing docs.
    2) Address the reader naturally (commonly using “你/你的”).
    
    ### Headings
    
    1) Follow existing Simplified Chinese heading style (short and descriptive).
    2) Do not add trailing punctuation to headings.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:08 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. tests/update_many2many_test.go

    	user := *GetUser("update-many2many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}}
    	for _, lang := range user.Languages {
    		DB.Create(&lang)
    	}
    	user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body-updates.md

    # 请求体 - 更新数据
    
    ## 用 `PUT` 更新数据
    
    更新数据请用 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> 操作。
    
    把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。
    
    {* ../../docs_src/body_updates/tutorial001.py hl[30:35] *}
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
        "name": "Barz",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. docs/zh/docs/environment-variables.md

    例如,你可以创建一个名为 `main.py` 的文件,其中包含以下内容:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    第二个参数是 <a href="https://docs.python.org/zh-cn/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> 的默认返回值。
    
    如果没有提供,默认值为 `None`,这里我们提供 `"World"` 作为默认值。
    
    ///
    
    然后你可以调用这个 Python 程序:
    
    //// tab | Linux, macOS, Windows Bash
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 12:17:15 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. docs/zh-hant/llm-prompt.md

    ### Target language
    
    Translate to Traditional Chinese (繁體中文).
    
    Language code: zh-hant.
    
    ### Grammar and tone
    
    1) Use clear, concise technical Traditional Chinese consistent with existing docs.
    2) Address the reader naturally (commonly using “你/你的”).
    
    ### Headings
    
    1) Follow existing Traditional Chinese heading style (short and descriptive).
    2) Do not add trailing punctuation to headings.
    
    ### Quotes and punctuation
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/request-forms.md

    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | 技术细节
    
    表单数据的「媒体类型」编码一般为 `application/x-www-form-urlencoded`。
    
    但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。
    
    编码和表单字段详见 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> Web 文档的 <code>POST</code></a>小节。
    
    ///
    
    /// warning | 警告
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. README.md

    We welcome pull requests for your language.
    
    ### Translations
    
    - [日本語 (Japanese)](docs/ja/README.md)
    - [简体中文 (Simplified Chinese)](docs/zh-CN/README.md)
    - [Español (Spanish)](docs/es/README.md)
    - [Português (Brazilian Portuguese)](docs/pt-BR/README.md)
    - [Français (French)](docs/fr/README.md)
    - [Deutsch (German)](docs/de/README.md)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 00:28:33 UTC 2025
    - 7.8K bytes
    - Viewed (2)
  10. docs/zh-hant/docs/environment-variables.md

    例如,你可以建立一個名為 `main.py` 的檔案,其中包含以下內容:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    第二個參數是 <a href="https://docs.python.org/zh-tw/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> 的預設回傳值。
    
    如果沒有提供,預設值為 `None`,這裡我們提供 `"World"` 作為預設值。
    
    ///
    
    然後你可以呼叫這個 Python 程式:
    
    //// tab | Linux, macOS, Windows Bash
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 12:17:55 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top