Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 495 for tip (0.01 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1  4-6" title="app/dependencies.py"
    {!> ../../docs_src/bigger_applications/app/dependencies.py!}
    ```
    
    ////
    
    /// tip
    
    We are using an invented header to simplify this example.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-forms.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms/tutorial001.py!}
    ```
    
    ////
    
    ## Define `Form` parameters
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/behind-a-proxy.md

                // More stuff here
        }
    }
    ```
    
    /// tip
    
    ๐Ÿ‘€ ๐Ÿš˜-๐Ÿ— ๐Ÿ’ฝ โฎ๏ธ `url` ๐Ÿ’ฒ `/api/v1`, โœŠ โšช๏ธโžก๏ธ `root_path`.
    
    ///
    
    ๐Ÿฉบ ๐ŸŽš <a href="http://127.0.0.1:9999/api/v1/docs" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/docs</a> โšซ๏ธ ๐Ÿ”œ ๐Ÿ‘€ ๐Ÿ’–:
    
    <img src="/img/tutorial/behind-a-proxy/image03.png">
    
    /// tip
    
    ๐Ÿฉบ ๐ŸŽš ๐Ÿ”œ ๐Ÿ”— โฎ๏ธ ๐Ÿ’ฝ ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ–Š.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/websockets.md

    {!> ../../docs_src/websockets/tutorial002_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ ้žๅธฆๆณจ่งฃ็‰ˆๆœฌ
    
    /// tip
    
    ๅฆ‚ๆžœๅฏ่ƒฝ๏ผŒ่ฏทๅฐฝ้‡ไฝฟ็”จ `Annotated` ็‰ˆๆœฌใ€‚
    
    ///
    
    ```Python hl_lines="66-67  79"
    {!> ../../docs_src/websockets/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ ้žๅธฆๆณจ่งฃ็‰ˆๆœฌ
    
    /// tip
    
    ๅฆ‚ๆžœๅฏ่ƒฝ๏ผŒ่ฏทๅฐฝ้‡ไฝฟ็”จ `Annotated` ็‰ˆๆœฌใ€‚
    
    ///
    
    ```Python hl_lines="68-69  81"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/request-forms-and-files.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms_and_files/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls mรถglich.
    
    ///
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/request-forms-and-files.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms_and_files/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ////
    
    ## Define `File` and `Form` parameters
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/async-tests.md

    ---> 100%
    ```
    
    </div>
    
    ## Details
    
    Der Marker `@pytest.mark.anyio` teilt pytest mit, dass diese Testfunktion asynchron aufgerufen werden soll:
    
    {* ../../docs_src/async_tests/test_main.py hl[7] *}
    
    /// tip | "Tipp"
    
    Beachten Sie, dass die Testfunktion jetzt `async def` ist und nicht nur `def` wie zuvor, wenn Sie den `TestClient` verwenden.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:34:47 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/async-tests.md

    ---> 100%
    ```
    
    </div>
    
    ## In Detail
    
    The marker `@pytest.mark.anyio` tells pytest that this test function should be called asynchronously:
    
    {* ../../docs_src/async_tests/test_main.py hl[7] *}
    
    /// tip
    
    Note that the test function is now `async def` instead of just `def` as before when using the `TestClient`.
    
    ///
    
    Then we can create an `AsyncClient` with the app, and send async requests to it, using `await`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/sql-databases.md

    โฎ๏ธ ๐Ÿ‘ˆ, ๐Ÿ‘ฅ ๐Ÿ’ช ๐Ÿค™ `crud.get_user` ๐Ÿ”— โšช๏ธโžก๏ธ ๐Ÿ”˜ *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* &amp; โš™๏ธ ๐Ÿ‘ˆ ๐ŸŽ‰.
    
    /// tip
    
    ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ’ฒ ๐Ÿ‘† ๐Ÿ“จ ๐Ÿ‡ธ๐Ÿ‡ฒ ๐Ÿท, โš–๏ธ ๐Ÿ“‡ ๐Ÿ‡ธ๐Ÿ‡ฒ ๐Ÿท.
    
    โœ‹๏ธ ๐ŸŒ *โžก ๐Ÿ› ๏ธ* โœ”๏ธ `response_model` โฎ๏ธ Pydantic *๐Ÿท* / ๐Ÿ”— โš™๏ธ `orm_mode`, ๐Ÿ’ฝ ๐Ÿ“ฃ ๐Ÿ‘† Pydantic ๐Ÿท ๐Ÿ”œ โš— โšช๏ธโžก๏ธ ๐Ÿ‘ซ &amp; ๐Ÿ“จ ๐Ÿ‘ฉโ€๐Ÿ’ป, โฎ๏ธ ๐ŸŒ ๐Ÿ˜ โ›ฝ &amp; ๐Ÿ”ฌ.
    
    ///
    
    /// tip
    
    ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ“ค `response_models` ๐Ÿ‘ˆ โœ”๏ธ ๐Ÿฉ ๐Ÿ ๐Ÿ†Ž ๐Ÿ’– `List[schemas.Item]`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/schema-extra-example.md

    ```
    
    ////
    
    //// tab | Python 3.10+ Annotated๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ
    
    /// tip | "ํŒ"
    
    ๊ฐ€๋Šฅํ•˜๋‹ค๋ฉด `Annotated`๊ฐ€ ๋‹ฌ๋ฆฐ ๋ฒ„์ „์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.
    
    ///
    
    ```Python hl_lines="18-25"
    {!> ../../docs_src/schema_extra_example/tutorial003_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ Annotated๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ
    
    /// tip | "ํŒ"
    
    ๊ฐ€๋Šฅํ•˜๋‹ค๋ฉด `Annotated`๊ฐ€ ๋‹ฌ๋ฆฐ ๋ฒ„์ „์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.
    
    ///
    
    ```Python hl_lines="20-27"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top