Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 2,118 for INFO (0.02 seconds)

  1. docs/zh/docs/tutorial/header-params.md

    /// note | 技术细节
    
    `Header` 是 `Path`、`Query`、`Cookie` 的**兄弟类**,都继承自共用的 `Param` 类。
    
    注意,从 `fastapi` 导入的 `Query`、`Path`、`Header` 等对象,实际上是返回特殊类的函数。
    
    ///
    
    /// info | 信息
    
    必须使用 `Header` 声明 header 参数,否则该参数会被解释为查询参数。
    
    ///
    
    ## 自动转换 { #automatic-conversion }
    
    `Header` 比 `Path`、`Query` 和 `Cookie` 提供了更多功能。
    
    大部分标准请求头用**连字符**分隔,即**减号**(`-`)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. docs/en/docs/alternatives.md

    It uses Marshmallow underneath to do the data validation. And it was created by the same developers.
    
    It's a great tool and I have used it a lot too, before having **FastAPI**.
    
    /// info
    
    Webargs was created by the same Marshmallow developers.
    
    ///
    
    /// check | Inspired **FastAPI** to
    
    Have automatic validation of incoming request data.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. tests/test_regex_deprecated_body.py

        client = get_client()
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/": {
                        "post": {
                            "summary": "Read Items",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/request-form-models.md

    # 表单模型 { #form-models }
    
    你可以在 FastAPI 中使用 **Pydantic 模型**声明**表单字段**。
    
    /// info | 信息
    
    要使用表单,首先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    确保你创建一个[虚拟环境](../virtual-environments.md),激活它,然后再安装,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | 注意
    
    自 FastAPI 版本 `0.113.0` 起支持此功能。🤓
    
    ///
    
    ## 表单的 Pydantic 模型 { #pydantic-models-for-forms }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/UserDbm.java

    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.user.exentity.User;
    import org.dbflute.Entity;
    import org.dbflute.dbmeta.AbstractDBMeta;
    import org.dbflute.dbmeta.info.ColumnInfo;
    import org.dbflute.dbmeta.info.UniqueInfo;
    import org.dbflute.dbmeta.name.TableSqlName;
    import org.dbflute.dbmeta.property.PropertyGateway;
    import org.dbflute.dbway.DBDef;
    import org.dbflute.util.DfTypeUtil;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 27K bytes
    - Click Count (0)
  6. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

                super(manager, 2, 50);
                this.shouldSucceed = shouldSucceed;
            }
    
            @Override
            protected boolean performReconnection(HandleInfo info) throws Exception {
                if (shouldSucceed) {
                    return true;
                } else {
                    throw new IOException("Simulated reconnection failure");
                }
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/cookie-param-models.md

    ## Check the Docs { #check-the-docs }
    
    You can see the defined cookies in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info
    
    Have in mind that, as **browsers handle cookies** in special ways and behind the scenes, they **don't** easily allow **JavaScript** to touch them.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/additional-responses.md

    例えば、ステータスコード `404` と Pydantic モデル `Message` を持つ別のレスポンスを宣言するには、次のように書けます:
    
    {* ../../docs_src/additional_responses/tutorial001_py310.py hl[18,22] *}
    
    /// note | 備考
    
    `JSONResponse` を直接返す必要がある点に注意してください。
    
    ///
    
    /// info | 情報
    
    `model` キーは OpenAPI の一部ではありません。
    
    FastAPI はそこから Pydantic モデルを取得して JSON Schema を生成し、適切な場所に配置します。
    
    適切な場所は次のとおりです:
    
    - `content` キーの中。これは値として別の JSON オブジェクト(`dict`)を持ち、その中に次が含まれます:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/stream-data.md

    # 流式数据 { #stream-data }
    
    如果你要流式传输可以结构化为 JSON 的数据,你应该[流式传输 JSON Lines](../tutorial/stream-json-lines.md)。
    
    但如果你想流式传输纯二进制数据或字符串,可以按下面的方法操作。
    
    /// info | 信息
    
    自 FastAPI 0.134.0 起新增。
    
    ///
    
    ## 使用场景 { #use-cases }
    
    如果你想流式传输纯字符串,例如直接来自某个 AI LLM 服务的输出,可以使用它。
    
    你也可以用它来流式传输大型二进制文件,在读取的同时按块发送,无需一次性把所有内容读入内存。
    
    你还可以用这种方式流式传输视频或音频,甚至可以在处理的同时生成并发送。
    
    ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. cmd/admin-handlers-users.go

    	}
    }
    
    // ImportIAM - imports all IAM info into MinIO
    func (a adminAPIHandlers) ImportIAM(w http.ResponseWriter, r *http.Request) {
    	a.importIAM(w, r, "")
    }
    
    // ImportIAMV2 - imports all IAM info into MinIO
    func (a adminAPIHandlers) ImportIAMV2(w http.ResponseWriter, r *http.Request) {
    	a.importIAM(w, r, "v2")
    }
    
    // ImportIAM - imports all IAM info into MinIO
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
Back to Top