Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 849 for Tutorial (0.14 seconds)

  1. docs/ja/docs/tutorial/schema-extra-example.md

    ここでは、`Body()`で期待されるデータの例を1つ含む`examples`を渡します:
    
    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### ドキュメントUIでの例 { #example-in-the-docs-ui }
    
    上記のいずれの方法でも、`/docs`の中では以下のようになります:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### 複数の`examples`を使う`Body` { #body-with-multiple-examples }
    
    もちろん、複数の`examples`を渡すこともできます:
    
    {* ../../docs_src/schema_extra_example/tutorial004_an_py310.py hl[23:38] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. docs/ko/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Pydantic에는 v1에서 v2로의 공식 [마이그레이션 가이드](https://docs.pydantic.dev/latest/migration/)가 있습니다.
    
    여기에는 무엇이 바뀌었는지, 검증이 이제 어떻게 더 정확하고 엄격해졌는지, 가능한 주의사항 등도 포함되어 있습니다.
    
    변경된 내용을 더 잘 이해하기 위해 읽어보면 좋습니다.
    
    ## 테스트 { #tests }
    
    앱에 대한 [테스트](../tutorial/testing.md)가 있는지 확인하고, 지속적 통합(CI)에서 테스트를 실행하세요.
    
    이렇게 하면 업그레이드를 진행하면서도 모든 것이 기대한 대로 계속 동작하는지 확인할 수 있습니다.
    
    ## `bump-pydantic` { #bump-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. docs/zh/docs/deployment/versions.md

    /// tip | 提示
    
    "MINOR"是中间的数字,例如,在`0.2.3`中,MINOR版本是`2`。
    
    ///
    
    ## 升级FastAPI版本 { #upgrading-the-fastapi-versions }
    
    你应该为你的应用程序添加测试。
    
    使用 **FastAPI** 编写测试非常简单(感谢 Starlette),请参考文档:[测试](../tutorial/testing.md)
    
    添加测试后,你可以将 **FastAPI** 版本升级到更新版本,并通过运行测试来确保所有代码都能正常工作。
    
    如果一切正常,或者在进行必要的更改之后,并且所有测试都通过了,那么你可以将`fastapi`固定到新的版本。
    
    ## 关于Starlette { #about-starlette }
    
    你不应该固定`starlette`的版本。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/cookie-param-models.md

    **FastAPI**は、リクエストで受け取った**クッキー**から**それぞれのフィールド**のデータを**抽出**し、定義したPydanticモデルを提供します。
    
    ## ドキュメントの確認 { #check-the-docs }
    
    対話的APIドキュメントUI `/docs` で、定義されているクッキーを確認できます:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | 情報
    
    **ブラウザがクッキーを処理し**ていますが、特別な方法で内部的に処理を行っているために、**JavaScript**からは簡単に操作**できない**ことに留意してください。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial005_py310.py hl[6] *}
    
    If you open the automatic API docs, your extension will show up at the bottom of the specific *path operation*.
    
    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    And if you see the resulting OpenAPI (at `/openapi.json` in your API), you will see your extension as part of the specific *path operation* too:
    
    ```JSON hl_lines="22"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## Check the username { #check-the-username }
    
    Here's a more complete example.
    
    Use a dependency to check if the username and password are correct.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  7. scripts/general-llm-prompt.md

    Example:
    
    Source (English):
    
    ```
    <a href="https://fastapi.tiangolo.com/tutorial/path-params/#documentation" class="external-link" target="_blank">Documentation</a>
    ```
    
    Result (Spanish):
    
    ```
    <a href="https://fastapi.tiangolo.com/es/tutorial/path-params/#documentation" class="external-link" target="_blank">Documentación</a>
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/index.md

    # 教學 - 使用者指南 { #tutorial-user-guide }
    
    本教學將一步一步展示如何使用 **FastAPI** 及其大多數功能。
    
    每個部分都是在前一部分的基礎上逐步建置的,但內容結構是按主題分開的,因此你可以直接跳到任何特定的部分,解決你具體的 API 需求。
    
    它也被設計成可作為未來的參考,讓你隨時回來查看所需的內容。
    
    ## 運行程式碼 { #run-the-code }
    
    所有程式碼區塊都可以直接複製和使用(它們實際上是經過測試的 Python 檔案)。
    
    要運行任何範例,請將程式碼複製到 `main.py` 檔案,並使用以下命令啟動 `fastapi dev`:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/python-types.md

    {* ../../docs_src/python_types/tutorial011_py310.py *}
    
    /// info | 資訊
    
    想了解更多 [Pydantic,請查看它的文件](https://docs.pydantic.dev/)。
    
    ///
    
    **FastAPI** 完全是以 Pydantic 為基礎。
    
    你會在[教學 - 使用者指南](tutorial/index.md)中看到更多實際範例。
    
    ## 含中繼資料的型別提示 { #type-hints-with-metadata-annotations }
    
    Python 也有一個功能,允許使用 `Annotated` 在這些型別提示中放入額外的<dfn title="關於資料的資料;在此情境下,是關於型別的資訊,例如描述。">中繼資料</dfn>。
    
    你可以從 `typing` 匯入 `Annotated`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. README.md

    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    For a more complete example including more features, see the <a href="https://fastapi.tiangolo.com/tutorial/">Tutorial - User Guide</a>.
    
    **Spoiler alert**: the tutorial - user guide includes:
    
    * Declaration of **parameters** from other different places as: **headers**, **cookies**, **form fields** and **files**.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
Back to Top