Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 681 for tutoriel (0.05 seconds)

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

  1. docs/zh/docs/advanced/response-change-status-code.md

    # 响应 - 更改状态码 { #response-change-status-code }
    
    你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md)。
    
    但在某些情况下,你需要返回一个不同于默认值的状态码。
    
    ## 使用场景 { #use-case }
    
    例如,假设你想默认返回一个HTTP状态码为“OK”`200`。
    
    但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。
    
    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数 { #use-a-response-parameter }
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/header-param-models.md

    ## Перевірка в документації { #check-the-docs }
    
    Ви можете побачити необхідні заголовки в інтерфейсі документації за адресою `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Заборонити додаткові заголовки { #forbid-extra-headers }
    
    У деяких особливих випадках (ймовірно, не дуже поширених) ви можете захотіти **обмежити** заголовки, які хочете отримати.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/header-param-models.md

    ## Die Dokumentation testen { #check-the-docs }
    
    Sie können die erforderlichen Header in der Dokumentationsoberfläche unter `/docs` sehen:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Zusätzliche Header verbieten { #forbid-extra-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/header-param-models.md

    ## Consulter la documentation { #check-the-docs }
    
    Vous pouvez voir les en-têtes requis dans l'interface de la documentation à `/docs` :
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Interdire les en-têtes supplémentaires { #forbid-extra-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/header-param-models.md

    ## Check the Docs { #check-the-docs }
    
    You can see the required headers in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Forbid Extra Headers { #forbid-extra-headers }
    
    In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/query-param-models.md

    **FastAPI**는 요청의 **쿼리 매개변수**에서 **각 필드**의 데이터를 **추출**해 정의한 Pydantic 모델을 제공합니다.
    
    ## 문서 확인하기 { #check-the-docs }
    
    `/docs`의 문서 UI에서 쿼리 매개변수를 확인할 수 있습니다:
    
    <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: Sun Jan 11 00:15:26 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/response-headers.md

    ///
    
    ## 自訂標頭 { #custom-headers }
    
    請記住,專有的自訂標頭可以[使用 `X-` 前綴](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)來新增。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/sql-databases.md

    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image02.png">
    </div>
    
    ## 總結 { #recap }
    
    你可以使用 [SQLModel](https://sqlmodel.tiangolo.com/) 與 SQL 資料庫互動,並用「資料模型」與「資料表模型」讓程式碼更簡潔。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### Example in the docs UI { #example-in-the-docs-ui }
    
    With any of the methods above it would look like this in the `/docs`:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` with multiple `examples` { #body-with-multiple-examples }
    
    You can of course also pass multiple `examples`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## Dependencies for a group of *path operations* { #dependencies-for-a-group-of-path-operations }
    
    Later, when reading about how to structure bigger applications ([Bigger Applications - Multiple Files](../../tutorial/bigger-applications.md)), possibly with multiple files, you will learn how to declare a single `dependencies` parameter for a group of *path operations*.
    
    ## Global Dependencies { #global-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top