Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 529 for tip (0.04 sec)

  1. docs/ru/docs/tutorial/security/get-current-user.md

    Обратите внимание, что мы объявляем тип переменной `current_user` как Pydantic-модель `User`.
    
    Это поможет выполнить внутри функции все проверки автозаполнения и типа.
    
    /// tip | Подсказка
    Возможно, вы помните, что тело запроса также объявляется с помощью Pydantic-моделей.
    
    В этом месте у **FastAPI** не возникнет проблем, потому что вы используете `Depends`.
    ///
    
    /// check | Заметка
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:52:27 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/query-params-str-validations.md

    👆 💪 📣 👈 🔢 💪 🚫 `None`, ✋️ 👈 ⚫️ ✔. 👉 🔜 ⚡ 👩‍💻 📨 💲, 🚥 💲 `None`.
    
    👈, 👆 💪 📣 👈 `None` ☑ 🆎 ✋️ ⚙️ `default=...`:
    
    {* ../../docs_src/query_params_str_validations/tutorial006c.py hl[9] *}
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/query-param-models.md

                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Підсумок
    
    Ви можете використовувати **Pydantic-моделі** для оголошення **query параметрів** у **FastAPI**. 😎
    
    /// tip | Підказка
    
    Спойлер: Ви також можете використовувати Pydantic-моделі для оголошення cookie та заголовків, але про це Ви дізнаєтеся пізніше в цьому посібнику. 🤫
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jun 05 12:12:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/middleware.md

        * 👉 🔢 🔜 🚶‍♀️ `request` 🔗 *➡ 🛠️*.
        * ⤴️ ⚫️ 📨 `response` 🏗 🔗 *➡ 🛠️*.
    * 👆 💪 ⤴️ 🔀 🌅 `response` ⏭ 🛬 ⚫️.
    
    {* ../../docs_src/middleware/tutorial001.py hl[8:9,11,14] *}
    
    /// tip
    
    ✔️ 🤯 👈 🛃 © 🎚 💪 🚮 <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">⚙️ '✖-' 🔡</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/response-cookies.md

    Then set Cookies in it, and then return it:
    
    {* ../../docs_src/response_cookies/tutorial001.py hl[10:12] *}
    
    /// tip
    
    Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/advanced-dependencies.md

    ```
    
    ...e passar o que quer que isso retorne como valor da dependência em nossa *função de operação de rota* como o parâmetro `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip | Dica
    
    Tudo isso parece não ser natural. E pode não estar muito claro ou aparentar ser útil ainda.
    
    Estes exemplos são intencionalmente simples, porém mostram como tudo funciona.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/body-fields.md

    Recuerda que cuando importas `Query`, `Path`, y otros desde `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    ///
    
    /// tip | Consejo
    
    Observa cómo cada atributo del modelo con un tipo, un valor por defecto y `Field` tiene la misma estructura que un parámetro de una *path operation function*, con `Field` en lugar de `Path`, `Query` y `Body`.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}
    
    Зависимости из dependencies выполнятся так же, как и обычные зависимости. Но их значения (если они были) не будут переданы в *функцию операции пути*.
    
    /// tip | Подсказка
    
    Некоторые редакторы кода определяют неиспользуемые параметры функций и подсвечивают их как ошибку.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 24 19:44:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    You **don't call it** directly (don't add the parenthesis at the end), you just pass it as a parameter to `Depends()`.
    
    And that function takes parameters in the same way that *path operation functions* do.
    
    /// tip
    
    You'll see what other "things", apart from functions, can be used as dependencies in the next chapter.
    
    ///
    
    Whenever a new request arrives, **FastAPI** will take care of:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/advanced-dependencies.md

    ```Python
    checker(q="somequery")
    ```
    
    ...&amp; 🚶‍♀️ ⚫️❔ 👈 📨 💲 🔗 👆 *➡ 🛠️ 🔢* 🔢 `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[20] *}
    
    /// tip
    
    🌐 👉 💪 😑 🎭. &amp; ⚫️ 💪 🚫 📶 🆑 ❔ ⚫️ ⚠.
    
    👫 🖼 😫 🙅, ✋️ 🎦 ❔ ⚫️ 🌐 👷.
    
    📃 🔃 💂‍♂, 📤 🚙 🔢 👈 🛠️ 👉 🎏 🌌.
    
    🚥 👆 🤔 🌐 👉, 👆 ⏪ 💭 ❔ 👈 🚙 🧰 💂‍♂ 👷 🔘.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top