Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for 21 (0.41 sec)

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

        {!> ../../../docs_src/schema_extra_example/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+ Annotated가 없는 경우"
    
        !!! tip "팁"
            가능하다면 `Annotated`가 달린 버전을 권장합니다.
    
        ```Python hl_lines="21-36"
        {!> ../../../docs_src/schema_extra_example/tutorial004.py!}
        ```
    
    이와 같이 하면 이 예제는 그 본문 데이터를 위한 내부 **JSON 스키마**의 일부가 될 것입니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/settings.md

    === "Python 3.9+"
    
        ```Python hl_lines="17  19-21"
        {!> ../../../docs_src/settings/app02_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="17  19-21"
        {!> ../../../docs_src/settings/app02_an/main.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/body-multiple-params.md

    ## `Path`, `Query` 및 본문 매개변수 혼합
    
    당연하게 `Path`, `Query` 및 요청 본문 매개변수 선언을 자유롭게 혼합해서 사용할 수 있고, **FastAPI**는 어떤 동작을 할지 압니다.
    
    또한, 기본 값을 `None`으로 설정해 본문 매개변수를 선택사항으로 선언할 수 있습니다.
    
    ```Python hl_lines="19-21"
    {!../../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    !!! note "참고"
        이 경우에는 본문으로 부터 가져온 `	item`은 기본값이 `None`이기 때문에, 선택사항이라는 점을 유의해야 합니다.
    
    ## 다중 본문 매개변수
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/body.md

        * de la recherche
        * de l'inspection
    
    ## Utilisez le modèle
    
    Dans la fonction, vous pouvez accéder à tous les attributs de l'objet du modèle directement :
    
    ```Python hl_lines="21"
    {!../../../docs_src/body/tutorial002.py!}
    ```
    
    ## Corps de la requête + paramètres de chemin
    
    Vous pouvez déclarer des paramètres de chemin et un corps de requête pour la même *opération de chemin*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/security/http-basic-auth.md

    🍵 👈, 👥 🥇 🗜 `username` & `password` `bytes` 🔢 👫 ⏮️ 🔠-8️⃣.
    
    ⤴️ 👥 💪 ⚙️ `secrets.compare_digest()` 🚚 👈 `credentials.username` `"stanleyjobson"`, & 👈 `credentials.password` `"swordfish"`.
    
    ```Python hl_lines="1  11-21"
    {!../../../docs_src/security/tutorial007.py!}
    ```
    
    👉 🔜 🎏:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

        {!> ../../../docs_src/security/tutorial007_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1  11-21"
        {!> ../../../docs_src/security/tutorial007.py!}
        ```
    
    This would be similar to:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

        * これは`query_extractor`に依存しており、それが返す値をパラメータ`q`に代入します。
    * また、オプショナルの`last_query`クッキーを`str`として宣言します。
        * ユーザーがクエリ`q`を提供しなかった場合、クッキーに保存していた最後に使用したクエリを使用します。
    
    ### 依存関係の使用
    
    以下のように依存関係を使用することができます:
    
    ```Python hl_lines="21"
    {!../../../docs_src/dependencies/tutorial005.py!}
    ```
    
    !!! info "情報"
        *path operation関数*の中で宣言している依存関係は`query_or_cookie_extractor`の1つだけであることに注意してください。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:43:41 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/schema-extra-example.md

    ### `Body` com `example`
    
    Aqui nós passamos um `example` dos dados esperados por `Body()`:
    
    ```Python hl_lines="21-26"
    {!../../../docs_src/schema_extra_example/tutorial003.py!}
    ```
    
    ### Exemplo na UI da documentação
    
    Com qualquer um dos métodos acima, os `/docs` vão ficar assim:
    
    <img src="/img/tutorial/body-fields/image01.png">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/schema-extra-example.md

    === "Python 3.10+"
    
        ```Python hl_lines="13-21"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="15-23"
        {!> ../../../docs_src/schema_extra_example/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/schema-extra-example.md

        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="21-36"
        {!> ../../../docs_src/schema_extra_example/tutorial004.py!}
        ```
    
    Wenn Sie das tun, werden die Beispiele Teil des internen **JSON-Schemas** für diese Body-Daten.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top