Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 890 for docs_src (0.12 sec)

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

    //// tab | Python 3.10+
    
    ```Python hl_lines="9-13  17"
    {!> ../../docs_src/query_param_models/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="8-12  16"
    {!> ../../docs_src/query_param_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10-14  18"
    {!> ../../docs_src/query_param_models/tutorial001_an.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 09:53:14 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="13-24"
    {!> ../../docs_src/schema_extra_example/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ Pydantic v1
    
    ```Python hl_lines="13-23"
    {!> ../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ Pydantic v2
    
    ```Python hl_lines="15-26"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/body.md

    Zuerst müssen Sie `BaseModel` von `pydantic` importieren:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="2"
    {!> ../../docs_src/body/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body/tutorial001.py!}
    ```
    
    ////
    
    ## Erstellen Sie Ihr Datenmodell
    
    Dann deklarieren Sie Ihr Datenmodell als eine Klasse, die von `BaseModel` erbt.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/body.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="2"
    {!> ../../docs_src/body/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body/tutorial001.py!}
    ```
    
    ////
    
    ## 创建数据模型
    
    把数据模型声明为继承 `BaseModel` 的类。
    
    使用 Python 标准类型声明所有属性:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="5-9"
    {!> ../../docs_src/body/tutorial001_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/extra-data-types.md

    //// tab | Python 3.8 и выше
    
    ```Python hl_lines="1  3  12-16"
    {!> ../../docs_src/extra_data_types/tutorial001.py!}
    ```
    
    ////
    
    //// tab | Python 3.10 и выше
    
    ```Python hl_lines="1  2  11-15"
    {!> ../../docs_src/extra_data_types/tutorial001_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/websockets.md

    🏭 👆 🔜 ✔️ 1️⃣ 🎛 🔛.
    
    ✋️ ⚫️ 🙅 🌌 🎯 🔛 💽-🚄 *️⃣ & ✔️ 👷 🖼:
    
    ```Python hl_lines="2  6-38  41-43"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    ## ✍ `websocket`
    
    👆 **FastAPI** 🈸, ✍ `websocket`:
    
    ```Python hl_lines="1  46-47"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    /// note | "📡 ℹ"
    
    👆 💪 ⚙️ `from starlette.websockets import WebSocket`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/dependencies/global-dependencies.md

    В этом случае они будут применяться ко всем *операциям пути* в приложении:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8 non-Annotated
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/custom-response.md

    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Nimmt Text oder Bytes entgegen und gibt eine HTML-Response zurück, wie Sie oben gelesen haben.
    
    ### `PlainTextResponse`
    
    Nimmt Text oder Bytes entgegen und gibt eine Plain-Text-Response zurück.
    
    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    🕴 📟 ⏭ & 🔌 `yield` 📄 🛠️ ⏭ 📨 📨:
    
    ```Python hl_lines="2-4"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    🌾 💲 ⚫️❔ 💉 🔘 *➡ 🛠️* & 🎏 🔗:
    
    ```Python hl_lines="4"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    📟 📄 `yield` 📄 🛠️ ⏮️ 📨 ✔️ 🚚:
    
    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip
    
    👆 💪 ⚙️ `async` ⚖️ 😐 🔢.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/path-params.md

    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### 문서 확인
    
    *경로 매개변수*에 사용할 수 있는 값은 미리 정의되어 있으므로 대화형 문서에서 잘 표시됩니다:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 파이썬 *열거형*으로 작업하기
    
    *경로 매개변수*의 값은 *열거형 멤버*가 됩니다.
    
    #### *열거형 멤버* 비교
    
    열거형 `ModelName`의 *열거형 멤버*를 비교할 수 있습니다:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top