Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 239 for Warning (0.19 sec)

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

        编码和表单字段详见 <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 "警告"
    
        可在一个*路径操作*中声明多个 `Form` 参数,但不能同时声明要接收 JSON 的 `Body` 字段。因为此时请求体的编码是 `application/x-www-form-urlencoded`,不是 `application/json`。
    
        这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。
    
    ## 小结
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10-13"
        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    !!! warning Внимание
        Имейте в виду, что эти дополнительные переданные аргументы не добавляют никакой валидации, только дополнительную информацию для документации.
    
    ## Использование `example` и `examples` в OpenAPI
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/behind-a-proxy.md

    Right as we wanted it. ✔️
    
    This is because FastAPI uses this `root_path` to create the default `server` in OpenAPI with the URL provided by `root_path`.
    
    ## Additional servers
    
    !!! warning
        This is a more advanced use case. Feel free to skip it.
    
    By default, **FastAPI** will create a `server` in the OpenAPI schema with the URL for the `root_path`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  4. docs/ja/docs/tutorial/body-fields.md

    ## `Field`のインポート
    
    まず、以下のようにインポートします:
    
    ```Python hl_lines="4"
    {!../../../docs_src/body_fields/tutorial001.py!}
    ```
    
    !!! warning "注意"
        `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。
    
    ## モデルの属性の宣言
    
    以下のように`Field`をモデルの属性として使用することができます:
    
    ```Python hl_lines="11 12 13 14"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:33:28 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/handling-errors.md

    }
    ```
    
    以下のようなテキスト版を取得します:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError`と`ValidationError`
    
    !!! warning "注意"
        これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/header-params.md

    만약 언더스코어를 하이픈으로 자동 변환을 비활성화해야 할 어떤 이유가 있다면, `Header`의 `convert_underscores` 매개변수를 `False`로 설정하십시오:
    
    ```Python hl_lines="10"
    {!../../../docs_src/header_params/tutorial002.py!}
    ```
    
    !!! warning "경고"
        `convert_underscore`를 `False`로 설정하기 전에, 어떤 HTTP 프록시들과 서버들은 언더스코어가 포함된 헤더 사용을 허락하지 않는다는 것을 명심하십시오.
    
    ## 중복 헤더
    
    중복 헤더들을 수신할 수 있습니다. 즉, 다중값을 갖는 동일한 헤더를 뜻합니다.
    
    타입 정의에서 리스트를 사용하여 이러한 케이스를 정의할 수 있습니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/async-tests.md

    ```
    
    ... welches wir verwendet haben, um unsere Requests mit dem `TestClient` zu machen.
    
    !!! tip "Tipp"
        Beachten Sie, dass wir async/await mit dem neuen `AsyncClient` verwenden – der Request ist asynchron.
    
    !!! warning "Achtung"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/schema-extra-example.md

    ## `Field`の追加引数
    
    後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます:
    
    ```Python hl_lines="4 10 11 12 13"
    {!../../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    !!! warning "注意"
        これらの追加引数が渡されても、文書化のためのバリデーションは追加されず、注釈だけが追加されることを覚えておいてください。
    
    ## `Body`の追加引数
    
    追加情報を`Field`に渡すのと同じように、`Path`、`Query`、`Body`などでも同じことができます。
    
    例えば、`Body`にボディリクエストの`example`を渡すことができます:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/security/oauth2-scopes.md

    🔠 🕰 👆 "🕹 ⏮️" 👱📔, 🇺🇸🔍, 📂, 🤸‍♂, 👱📔, 👈 🈸 ⚙️ Oauth2️⃣ ⏮️ ↔.
    
    👉 📄 👆 🔜 👀 ❔ 🛠️ 🤝 &amp; ✔ ⏮️ 🎏 Oauth2️⃣ ⏮️ ↔ 👆 **FastAPI** 🈸.
    
    !!! warning
        👉 🌅 ⚖️ 🌘 🏧 📄. 🚥 👆 ▶️, 👆 💪 🚶 ⚫️.
    
        👆 🚫 🎯 💪 Oauth2️⃣ ↔, &amp; 👆 💪 🍵 🤝 &amp; ✔ 👐 👆 💚.
    
        ✋️ Oauth2️⃣ ⏮️ ↔ 💪 🎆 🛠️ 🔘 👆 🛠️ (⏮️ 🗄) &amp; 👆 🛠️ 🩺.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  10. docs/em/docs/contributing.md

    ⤴️ 👆 💪 🍦 👈 ⏮️ 📋 `serve`:
    
    <div class="termy">
    
    ```console
    // Use the command "serve" after running "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Make sure you run the build-all command first.
    Serving at: http://127.0.0.1:8008
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
Back to top