Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 529 for tip (0.01 sec)

  1. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/settings.md

    /// tip
    
    📁 ▶️ ⏮️ ❣ (`.`) 🕵‍♂ 📁 🖥-💖 ⚙️, 💖 💾 & 🇸🇻.
    
    ✋️ 🇨🇻 📁 🚫 🤙 ✔️ ✔️ 👈 ☑ 📁.
    
    ///
    
    Pydantic ✔️ 🐕‍🦺 👂 ⚪️➡️ 👉 🆎 📁 ⚙️ 🔢 🗃. 👆 💪 ✍ 🌖 <a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/#dotenv-env-support" class="external-link" target="_blank">Pydantic ⚒: 🇨🇻 (.🇨🇻) 🐕‍🦺</a>.
    
    /// tip
    
    👉 👷, 👆 💪 `pip install python-dotenv`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/en/docs/virtual-environments.md

    If you are using **Git** (you should), add a `.gitignore` file to exclude everything in your `.venv` from Git.
    
    /// tip
    
    If you used <a href="https://github.com/astral-sh/uv" class="external-link" target="_blank">`uv`</a> to create the virtual environment, it already did this for you, you can skip this step. 😎
    
    ///
    
    /// tip
    
    Do this **once**, right after you create the virtual environment.
    
    ///
    
    <div class="termy">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/async-tests.md

    ```
    
    </div>
    
    ## Em Detalhes
    
    O marcador `@pytest.mark.anyio` informa ao pytest que esta função de teste deve ser invocada de maneira assíncrona:
    
    {* ../../docs_src/async_tests/test_main.py hl[7] *}
    
    /// 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/security/simple-oauth2.md

    &amp; ⚫️ 🔜 ✔️ `access_token`, ⏮️ 🎻 ⚗ 👆 🔐 🤝.
    
    👉 🙅 🖼, 👥 🔜 🍕 😟 &amp; 📨 🎏 `username` 🤝.
    
    /// tip
    
    ⏭ 📃, 👆 🔜 👀 🎰 🔐 🛠️, ⏮️ 🔐 #️⃣ &amp; <abbr title="JSON Web Tokens">🥙</abbr> 🤝.
    
    ✋️ 🔜, ➡️ 🎯 🔛 🎯 ℹ 👥 💪.
    
    ///
    
    {* ../../docs_src/security/tutorial003.py hl[85] *}
    
    /// tip
    
    🔌, 👆 🔜 📨 🎻 ⏮️ `access_token` &amp; `token_type`, 🎏 👉 🖼.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/async-tests.md

    {* ../../docs_src/async_tests/test_main.py hl[7] *}
    
    /// tip
    
    🗒 👈 💯 🔢 🔜 `async def` ↩️ `def` ⏭ 🕐❔ ⚙️ `TestClient`.
    
    ///
    
    ⤴️ 👥 💪 ✍ `AsyncClient` ⏮️ 📱, &amp; 📨 🔁 📨 ⚫️, ⚙️ `await`.
    
    {* ../../docs_src/async_tests/test_main.py hl[9:12] *}
    
    👉 🌓:
    
    ```Python
    response = client.get('/')
    ```
    
    ...👈 👥 ⚙️ ⚒ 👆 📨 ⏮️ `TestClient`.
    
    /// tip
    
    🗒 👈 👥 ⚙️ 🔁/⌛ ⏮️ 🆕 `AsyncClient` - 📨 🔁.
    
    ///
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/async-tests.md

    ---> 100%
    ```
    
    </div>
    
    ## En Detalle
    
    El marcador `@pytest.mark.anyio` le dice a pytest que esta función de test debe ser llamada asíncronamente:
    
    {* ../../docs_src/async_tests/test_main.py hl[7] *}
    
    /// tip | Consejo
    
    Note que la función de test ahora es `async def` en lugar de solo `def` como antes al usar el `TestClient`.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/behind-a-proxy.md

        }
    }
    ```
    
    /// tip | Dica
    
    Perceba o servidor gerado automaticamente com um valor `url` de `/api/v1`, retirado do `root_path`.
    
    ///
    
    Na interface de documentação em <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> parecerá:
    
    <img src="/img/tutorial/behind-a-proxy/image03.png">
    
    /// tip | Dica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top