Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 919 for Tip (0.02 seconds)

  1. docs/ja/docs/advanced/json-base64-bytes.md

    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    
    次のようなリクエストを送れます:
    
    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | 豆知識
    
    `aGVsbG8=` は `hello` の base64 エンコードです。
    
    ///
    
    その後、Pydantic は base64 文字列をデコードし、モデルの `data` フィールドに元のバイト列を渡します。
    
    次のようなレスポンスを受け取ります:
    
    ```json
    {
      "description": "Some data",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  2. docs/ko/docs/deployment/docker.md

    FastAPI 애플리케이션을 배포할 때 일반적인 접근 방법은 **리눅스 컨테이너 이미지**를 빌드하는 것입니다. 보통 [**Docker**](https://www.docker.com/)를 사용해 수행합니다. 그런 다음 해당 컨테이너 이미지를 몇 가지 가능한 방법 중 하나로 배포할 수 있습니다.
    
    리눅스 컨테이너를 사용하면 **보안**, **재현 가능성**, **단순함** 등 여러 장점이 있습니다.
    
    /// tip | 팁
    
    시간이 없고 이미 이런 내용들을 알고 계신가요? 아래의 [`Dockerfile` 👇](#build-a-docker-image-for-fastapi)로 이동하세요.
    
    ///
    
    <details>
    <summary>Dockerfile Preview 👀</summary>
    
    ```Dockerfile
    FROM python:3.14
    
    WORKDIR /code
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 32.6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/response-status-code.md

    * `500 - 599` are for server errors. You almost never use them directly. When something goes wrong at some part in your application code, or server, it will automatically return one of these status codes.
    
    /// tip
    
    To know more about each status code and which code is for what, check the [<abbr title="Mozilla Developer Network">MDN</abbr> documentation about HTTP status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status).
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  4. docs/en/docs/management-tasks.md

    # Repository Management Tasks
    
    These are the tasks that can be performed to manage the FastAPI repository by [team members](./fastapi-people.md#team).
    
    /// tip
    
    This section is useful only to a handful of people, team members with permissions to manage the repository. You can probably skip it. 😉
    
    ///
    
    ...so, you are a [team member of FastAPI](./fastapi-people.md#team)? Wow, you are so cool! 😎
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    ```
    
    ...and pass whatever that returns as the value of the dependency in our *path operation function* as the parameter `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[22] *}
    
    /// tip
    
    All this might seem contrived. And it might not be very clear how is it useful yet.
    
    These examples are intentionally simple, but show how it all works.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/body-fields.md

    また、Pydanticの`Field`は`FieldInfo`のインスタンスも返します。
    
    `Body`は`FieldInfo`のサブクラスのオブジェクトを直接返すこともできます。そして、他にも`Body`クラスのサブクラスであるものがあります。
    
    `fastapi`から`Query`や`Path`などをインポートする場合、これらは実際には特殊なクラスを返す関数であることに注意してください。
    
    ///
    
    /// tip | 豆知識
    
    型、デフォルト値、`Field`を持つ各モデルの属性が、`Path`や`Query`、`Body`の代わりに`Field`を持つ、*path operation 関数の*パラメータと同じ構造になっていることに注目してください。
    
    ///
    
    ## 追加情報の追加 { #add-extra-information }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 3K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/strict-content-type.md

    Imagine you build a way to run a local AI agent.
    
    It provides an API at
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    There's also a frontend at
    
    ```
    http://localhost:8000
    ```
    
    /// tip
    
    Note that both have the same host.
    
    ///
    
    Then using the frontend you can make the AI agent do things on your behalf.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  8. docs/ru/llm-prompt.md

    * Machine Learning: Машинное обучение
    * Deep Learning: Глубокое обучение
    * callback hell: callback hell (clarify as `ад обратных вызовов`)
    * on the fly: на лету
    * scratch the surface: поверхностно ознакомиться
    * tip: совет (or `подсказка` depending on context)
    * Pydantic model: Pydantic-модель (`модель Pydantic` and `Pydantic модель` are also fine)
    * declare: объявить
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Jan 22 07:07:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/schema-extra-example.md

    你可以使用属性 `model_config`,它接收一个 `dict`,详见 [Pydantic 文档:配置](https://docs.pydantic.dev/latest/api/config/)。
    
    你可以设置 `"json_schema_extra"`,其值为一个 `dict`,包含你希望出现在生成 JSON Schema 中的任意附加数据,包括 `examples`。
    
    /// tip | 提示
    
    你也可以用同样的技巧扩展 JSON Schema,添加你自己的自定义额外信息。
    
    例如,你可以用它为前端用户界面添加元数据等。
    
    ///
    
    /// info | 信息
    
    OpenAPI 3.1.0(自 FastAPI 0.99.0 起使用)增加了对 `examples` 的支持,它是 JSON Schema 标准的一部分。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/request-forms.md

    使用 `Form` 可以像使用 `Body`(以及 `Query`、`Path`、`Cookie`)一样声明相同的配置,包括校验、示例、别名(例如将 `username` 写成 `user-name`)等。
    
    /// info
    
    `Form` 是直接继承自 `Body` 的类。
    
    ///
    
    /// tip
    
    要声明表单请求体,必须显式使用 `Form`,否则这些参数会被当作查询参数或请求体(JSON)参数。
    
    ///
    
    ## 关于 "表单字段" { #about-form-fields }
    
    HTML 表单(`<form></form>`)向服务器发送数据时通常会对数据使用一种“特殊”的编码方式,这与 JSON 不同。
    
    **FastAPI** 会确保从正确的位置读取这些数据,而不是从 JSON 中读取。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top