Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 225 for tutorial007_an_py310 (0.13 seconds)

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

  1. docs/zh-hant/docs/tutorial/query-param-models.md

    /// note
    
    FastAPI 從 `0.115.0` 版本開始支援這個特性。🤓
    
    ///
    
    ## 使用 Pydantic 模型的查詢參數
    
    在一個 **Pydantic 模型**中聲明你需要的**查詢參數**,然後將參數聲明為 `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI** 將會從請求的**查詢參數**中**提取**出**每個欄位**的資料,並將其提供給你定義的 Pydantic 模型。
    
    ## 查看文件
    
    你可以在 `/docs` 頁面的 UI 中查看查詢參數:
    
    <div class="screenshot">
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 27 22:14:10 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/cookie-param-models.md

    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/query-param-models.md

    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.115.0`부터 제공됩니다. 🤓
    
    ///
    
    ## 쿼리 매개변수와 Pydantic 모델
    
    필요한 **쿼리 매개변수**를 **Pydantic 모델** 안에 선언한 다음, 모델을 `Query`로 선언합니다.
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI**는 요청의 **쿼리 매개변수**에서 **각 필드**의 데이터를 **추출**해 정의한 Pydantic 모델로 제공합니다.
    
    ## 문서 확인하기
    
    `/docs` 경로의 API 문서에서 매개변수를 확인할 수 있습니다.
    
    <div class="screenshot">
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 20 19:24:08 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### 문서 UI 예시
    
    위의 어느 방법과 함께라면 `/docs`에서 다음과 같이 보일 것입니다:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### 다중 `examples`를 포함한 `Body`
    
    물론 여러 `examples`를 넘길 수 있습니다:
    
    {* ../../docs_src/schema_extra_example/tutorial004_an_py310.py hl[23:38] *}
    
    이와 같이 하면 이 예제는 그 본문 데이터를 위한 내부 **JSON 스키마**의 일부가 될 것입니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 10.7K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/query-param-models.md

    /// note | 備考
    
    この機能は、FastAPIのバージョン `0.115.0` からサポートされています。🤓
    
    ///
    
    ## クエリパラメータにPydanticモデルを使用する
    
    必要な**複数のクエリパラメータ**を**Pydanticモデル**で宣言し、さらに、それを `Query` として宣言しましょう:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI**は、リクエストの**クエリパラメータ**からそれぞれの**フィールド**のデータを**抽出**し、定義された**Pydanticモデル**を提供します。
    
    ## ドキュメントの確認
    
    対話的APIドキュメント `/docs` でクエリパラメータを確認できます:
    
    <div class="screenshot">
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Feb 28 14:18:46 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Получить пользователя { #get-the-user }
    
    `get_current_user` будет использовать созданную нами (ненастоящую) служебную функцию, которая принимает токен типа `str` и возвращает нашу Pydantic-модель `User`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable" { #first-dependency-dependable }
    
    You could create a first dependency ("dependable") like:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    It declares an optional query parameter `q` as a `str`, and then it just returns it.
    
    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *}
    
    Sehen wir uns diese Änderungen nun Schritt für Schritt an.
    
    ## OAuth2-Sicherheitsschema { #oauth2-security-scheme }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** se encargará de resolverlas.
    
    ## Primera dependencia "dependable" { #first-dependency-dependable }
    
    Podrías crear una primera dependencia ("dependable") así:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Declara un parámetro de query opcional `q` como un `str`, y luego simplemente lo devuelve.
    
    Esto es bastante simple (no muy útil), pero nos ayudará a centrarnos en cómo funcionan las sub-dependencias.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Get the user { #get-the-user }
    
    `get_current_user` will use a (fake) utility function we created, that takes a token as a `str` and returns our Pydantic `User` model:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Inject the current user { #inject-the-current-user }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top