Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 510 for tutorial004_an_py310 (0.26 seconds)

  1. docs/pt/docs/advanced/security/http-basic-auth.md

    * Utilize o `security` com uma dependência em sua *operação de rota*.
    * Isso retorna um objeto do tipo `HTTPBasicCredentials`:
        * Isto contém o `username` e o `password` enviado.
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    Quando você tentar abrir a URL pela primeira vez (ou clicar no botão "Executar" na documentação) o navegador vai pedir pelo seu usuário e senha:
    
    <img src="/img/tutorial/security/image12.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/cookie-param-models.md

    ///
    
    ## Pydantic 모델을 사용한 쿠키 { #cookies-with-a-pydantic-model }
    
    **Pydantic 모델**에 필요한 **쿠키** 매개변수를 선언한 다음, 해당 매개변수를 `Cookie`로 선언합니다:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI**는 요청에서 받은 **쿠키**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다.
    
    ## 문서 확인하기 { #check-the-docs }
    
    문서 UI `/docs`에서 정의한 쿠키를 볼 수 있습니다:
    
    <div class="screenshot">
    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)
  3. docs/fr/docs/tutorial/cookie-param-models.md

    Déclarez les paramètres de **cookie** dont vous avez besoin dans un **modèle Pydantic**, puis déclarez le paramètre comme `Cookie` :
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** va **extraire** les données pour **chaque champ** à partir des **cookies** reçus dans la requête et vous fournir le modèle Pydantic que vous avez défini.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/cookie-param-models.md

    ///
    
    ## Pydanticモデルを使用したクッキー { #cookies-with-a-pydantic-model }
    
    必要な複数の**クッキー**パラメータを**Pydanticモデル**で宣言し、さらに、パラメータを `Cookie` として宣言しましょう:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI**は、リクエストで受け取った**クッキー**から**それぞれのフィールド**のデータを**抽出**し、定義したPydanticモデルを提供します。
    
    ## ドキュメントの確認 { #check-the-docs }
    
    対話的APIドキュメントUI `/docs` で、定義されているクッキーを確認できます:
    
    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/zh/docs/tutorial/cookie-param-models.md

    此技术同样适用于 `Query` 、 `Cookie` 和 `Header` 。😎
    
    ///
    
    ## 带有 Pydantic 模型的 Cookie { #cookies-with-a-pydantic-model }
    
    在 **Pydantic** 模型中声明所需的 **cookie** 参数,然后将参数声明为 `Cookie` :
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** 将从请求中接收到的 **cookie** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。
    
    ## 查看文档 { #check-the-docs }
    
    您可以在文档 UI 的 `/docs` 中查看定义的 cookie:
    
    <div class="screenshot">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/query-param-models.md

    ///
    
    ## Pydanticモデルを使ったクエリパラメータ { #query-parameters-with-a-pydantic-model }
    
    必要な**クエリパラメータ**を**Pydanticモデル**で宣言し、さらに、そのパラメータを `Query` として宣言しましょう:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI**は、リクエストの**クエリパラメータ**からそれぞれの**フィールド**のデータを**抽出**し、定義したPydanticモデルを提供します。
    
    ## ドキュメントの確認 { #check-the-docs }
    
    対話的APIドキュメント `/docs` でクエリパラメータを確認できます:
    
    <div class="screenshot">
    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)
  7. docs/ja/docs/advanced/security/http-basic-auth.md

    - `HTTPBasic` を使って「`security` スキーム」を作成します。
    - その `security` を依存関係として path operation に使用します。
    - `HTTPBasicCredentials` 型のオブジェクトが返ります:
        - 送信された `username` と `password` を含みます。
    
    {* ../../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: Fri Mar 20 14:07:17 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Request gereksinimleri (header'lar gibi) veya başka alt dependency'ler tanımlayabilirler:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Exception Fırlatmak { #raise-exceptions }
    
    Bu dependency'ler, normal dependency'lerde olduğu gibi `raise` ile exception fırlatabilir:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Return Değerleri { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Вызов исключений { #raise-exceptions }
    
    Зависимости из dependencies могут вызывать исключения с помощью `raise`, как и обычные зависимости:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Возвращаемые значения { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    They can declare request requirements (like headers) or other sub-dependencies:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Raise exceptions { #raise-exceptions }
    
    These dependencies can `raise` exceptions, the same as normal dependencies:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Return values { #return-values }
    
    And they can return values or not, the values won't be used.
    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