Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 495 for tip (0.06 sec)

  1. docs/tr/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!}
    ```
    
    ////
    
    ## `Form` Parametrelerini Tanımlayın
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. docs/de/docs/contributing.md

    <div class="termy">
    
    ```console
    $ python -m pip install --upgrade pip
    
    ---> 100%
    ```
    
    </div>
    
    /// tip | "Tipp"
    
    Aktivieren Sie jedes Mal, wenn Sie ein neues Package mit `pip` in dieser Umgebung installieren, die Umgebung erneut.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/testing-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="24-25  28"
    {!> ../../docs_src/dependency_testing/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="28-29  32"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    Для этого используйте `yield` вместо `return`, а дополнительный код напишите после него.
    
    /// tip | "Подсказка"
    
    Обязательно используйте `yield` один-единственный раз.
    
    ///
    
    /// note | "Технические детали"
    
    Любая функция, с которой может работать:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/request-forms.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms/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/tutorial001.py!}
    ```
    
    ////
    
    ## `Form`-Parameter definieren
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/async-tests.md

    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    /// tip
    
    🗒 👈 💯 🔢 🔜 `async def` ↩️ `def` ⏭ 🕐❔ ⚙️ `TestClient`.
    
    ///
    
    ⤴️ 👥 💪 ✍ `AsyncClient` ⏮️ 📱, &amp; 📨 🔁 📨 ⚫️, ⚙️ `await`.
    
    ```Python hl_lines="9-12"
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    👉 🌓:
    
    ```Python
    response = client.get('/')
    ```
    
    ...👈 👥 ⚙️ ⚒ 👆 📨 ⏮️ `TestClient`.
    
    /// tip
    
    🗒 👈 👥 ⚙️ 🔁/⌛ ⏮️ 🆕 `AsyncClient` - 📨 🔁.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/bigger-applications.md

    │   ├── main.py
    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    │   │   └── users.py
    │   └── internal
    │       ├── __init__.py
    │       └── admin.py
    ```
    
    /// tip
    
    📤 📚 `__init__.py` 📁: 1️⃣ 🔠 📁 ⚖️ 📁.
    
    👉 ⚫️❔ ✔ 🏭 📟 ⚪️➡️ 1️⃣ 📁 🔘 ➕1️⃣.
    
    🖼, `app/main.py` 👆 💪 ✔️ ⏸ 💖:
    
    ```
    from app.routers import items
    ```
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/testing.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | "Dica"
    
    Prefira usar a versão `Annotated` se possível.
    
    ///
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | "Dica"
    
    Prefira usar a versão `Annotated` se possível.
    
    ///
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/testing.md

    {!../../docs_src/app_testing/tutorial001.py!}
    ```
    
    /// tip | "提示"
    
    注意测试函数是普通的 `def`,不是 `async def`。
    
    还有client的调用也是普通的调用,不是用 `await`。
    
    这让你可以直接使用 `pytest` 而不会遇到麻烦。
    
    ///
    
    /// note | "技术细节"
    
    你也可以用 `from starlette.testclient import TestClient`。
    
    **FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。
    
    ///
    
    /// tip | "提示"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/async-tests.md

    ## Em Detalhes
    
    O marcador `@pytest.mark.anyio` informa ao pytest que esta função de teste deve ser invocada de maneira assíncrona:
    
    ```Python hl_lines="7"
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    /// tip | "Dica"
    
    Note que a função de teste é `async def` agora, no lugar de apenas `def` como quando estávamos utilizando o `TestClient` anteriormente.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top