Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 653 for tutoriel (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ja/docs/tutorial/query-param-models.md

    **FastAPI**は、リクエストの**クエリパラメータ**からそれぞれの**フィールド**のデータを**抽出**し、定義したPydanticモデルを提供します。
    
    ## ドキュメントの確認 { #check-the-docs }
    
    対話的APIドキュメント `/docs` でクエリパラメータを確認できます:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## 余分なクエリパラメータを禁止する { #forbid-extra-query-parameters }
    
    特定の(あまり一般的ではないかもしれない)ユースケースで、受け取りたいクエリパラメータを**制限**したい場合があります。
    
    Pydanticのモデル設定を使って、あらゆる `extra` フィールドを `forbid` にできます。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[11,16] *}
    
    ## *경로 처리* 모음에 대한 의존성 { #dependencies-for-a-group-of-path-operations }
    
    나중에 여러 파일을 가지고 있을 수 있는 더 큰 애플리케이션을 구조화하는 법([더 큰 애플리케이션 - 여러 파일들](../../tutorial/bigger-applications.md))을 읽을 때, *경로 처리* 모음에 대한 단일 `dependencies` 매개변수를 선언하는 법에 대해서 배우게 될 것입니다.
    
    ## 전역 의존성 { #global-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    因此,可以复用在其他位置使用过的、(能返回值的)普通依赖项,即使没有使用这个值,也会执行该依赖项:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[11,16] *}
    
    ## 为一组路径操作定义依赖项 { #dependencies-for-a-group-of-path-operations }
    
    稍后,[大型应用 - 多文件](../../tutorial/bigger-applications.md)一章中会介绍如何使用多个文件创建大型应用程序,在这一章中,您将了解到如何为一组*路径操作*声明单个 `dependencies` 参数。
    
    ## 全局依赖项 { #global-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/deployment/versions.md

    破壞性變更與新功能會在「MINOR」版本加入。
    
    /// 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:05:38 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. fastapi/datastructures.py

        attribute to access the raw standard Python file (blocking, not async), useful and
        needed for non-async code.
    
        Read more about it in the
        [FastAPI docs for Request Files](https://fastapi.tiangolo.com/tutorial/request-files/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, File, UploadFile
    
        app = FastAPI()
    
    
        @app.post("/files/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/settings.md

    ## Configurações em outro módulo { #settings-in-another-module }
    
    Você pode colocar essas configurações em outro arquivo de módulo como visto em [Aplicações Maiores - Múltiplos Arquivos](../tutorial/bigger-applications.md).
    
    Por exemplo, você poderia ter um arquivo `config.py` com:
    
    {* ../../docs_src/settings/app01_py310/config.py *}
    
    E então usá-lo em um arquivo `main.py`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/schema-extra-example.md

    这里我们向 `Body()` 传入 `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 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/cookie-param-models.md

    **FastAPI**는 요청에서 받은 **쿠키**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다.
    
    ## 문서 확인하기 { #check-the-docs }
    
    문서 UI `/docs`에서 정의한 쿠키를 볼 수 있습니다:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | 정보
    
    명심하세요, 내부적으로 **브라우저는 쿠키를 특별한 방식으로 처리**하기 때문에 **자바스크립트**가 쉽게 쿠키를 건드릴 수 **없습니다**.
    
    `/docs`에서 **API 문서 UI**로 이동하면 *경로 처리*에 대한 쿠키의 **문서**를 볼 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. docs/ru/docs/advanced/security/http-basic-auth.md

    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    Когда вы впервые откроете URL (или нажмёте кнопку «Execute» в документации), браузер попросит ввести имя пользователя и пароль:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## Проверка имени пользователя { #check-the-username }
    
    Вот более полный пример.
    
    Используйте зависимость, чтобы проверить, корректны ли имя пользователя и пароль.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/behind-a-proxy.md

    你可以在 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) 查看:
    
    <img src="/img/tutorial/behind-a-proxy/image01.png">
    
    但如果我们在“官方”URL(代理端口为 `9999`)的 `/api/v1/docs` 访问文档界面,它就能正常工作!🎉
    
    你可以在 [http://127.0.0.1:9999/api/v1/docs](http://127.0.0.1:9999/api/v1/docs) 查看:
    
    <img src="/img/tutorial/behind-a-proxy/image02.png">
    
    完全符合我们的预期。✔️
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
Back to Top