Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 342 for Raines (0.17 sec)

  1. docs/ru/docs/tutorial/first-steps.md

    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Это обычная Python функция.
    
    **FastAPI** будет вызывать её каждый раз при получении `GET` запроса к URL "`/`".
    
    В данном случае это асинхронная функция.
    
    ---
    
    Вы также можете определить ее как обычную функцию вместо `async def`:
    
    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## 🔗 ❌ & 📨 💲
    
    👆 💪 ⚙️ 🎏 🔗 *🔢* 👆 ⚙️ 🛎.
    
    ### 🔗 📄
    
    👫 💪 📣 📨 📄 (💖 🎚) ⚖️ 🎏 🎧-🔗:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### 🤚 ⚠
    
    👫 🔗 💪 `raise` ⚠, 🎏 😐 🔗:
    
    ```Python hl_lines="8  13"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### 📨 💲
    
    & 👫 💪 📨 💲 ⚖️ 🚫, 💲 🏆 🚫 ⚙️.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/advanced-dependencies.md

    🚫 🎓 ⚫️ (❔ ⏪ 🇧🇲), ✋️ 👐 👈 🎓.
    
    👈, 👥 📣 👩‍🔬 `__call__`:
    
    ```Python hl_lines="10"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    👉 💼, 👉 `__call__` ⚫️❔ **FastAPI** 🔜 ⚙️ ✅ 🌖 🔢 & 🎧-🔗, & 👉 ⚫️❔ 🔜 🤙 🚶‍♀️ 💲 🔢 👆 *➡ 🛠️ 🔢* ⏪.
    
    ## 🔗 👐
    
    & 🔜, 👥 💪 ⚙️ `__init__` 📣 🔢 👐 👈 👥 💪 ⚙️ "🔗" 🔗:
    
    ```Python hl_lines="7"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/handling-errors.md

    👆 💪 ⚙️ ⚫️ ⏪ 🛠️ 👆 📱 🕹 💪 & ℹ ⚫️, 📨 ⚫️ 👩‍💻, ♒️.
    
    ```Python hl_lines="14"
    {!../../../docs_src/handling_errors/tutorial005.py!}
    ```
    
    🔜 🔄 📨 ❌ 🏬 💖:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    👆 🔜 📨 📨 💬 👆 👈 💽 ❌ ⚗ 📨 💪:
    
    ```JSON hl_lines="12-15"
    {
      "detail": [
        {
          "loc": [
            "body",
            "size"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/generate-clients.md

    ## Generate a TypeScript Frontend Client
    
    Let's start with a simple FastAPI application:
    
    === "Python 3.9+"
    
        ```Python hl_lines="7-9  12-13  16-17  21"
        {!> ../../../docs_src/generate_clients/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9-11  14-15  18  19  23"
        {!> ../../../docs_src/generate_clients/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    For example:
    
    ```Python hl_lines="4-7"
    {!../../../docs_src/behind_a_proxy/tutorial003.py!}
    ```
    
    Will generate an OpenAPI schema like:
    
    ```JSON hl_lines="5-7"
    {
        "openapi": "3.1.0",
        // More stuff here
        "servers": [
            {
                "url": "/api/v1"
            },
            {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  7. docs/zh/docs/tutorial/body-updates.md

    这段代码生成的 `dict` 只包含创建 `item` 模型时显式设置的数据,而不包括默认值。
    
    然后再用它生成一个只含已设置(在请求中所发送)数据,且省略了默认值的 `dict`:
    
    ```Python hl_lines="34"
    {!../../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ### 使用 Pydantic 的 `update` 参数
    
    接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的 `dict`。
    
    例如,`stored_item_model.copy(update=update_data)`:
    
    ```Python hl_lines="35"
    {!../../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ### 更新部分数据小结
    
    简而言之,更新部分数据应:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/first-steps.md

    ### 🔁 1️⃣: 🗄 `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` 🐍 🎓 👈 🚚 🌐 🛠️ 👆 🛠️.
    
    !!! note "📡 ℹ"
        `FastAPI` 🎓 👈 😖 🔗 ⚪️➡️ `Starlette`.
    
        👆 💪 ⚙️ 🌐 <a href="https://www.starlette.io/" class="external-link" target="_blank">💃</a> 🛠️ ⏮️ `FastAPI` 💁‍♂️.
    
    ### 🔁 2️⃣: ✍ `FastAPI` "👐"
    
    ```Python hl_lines="3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/metadata.md

    ✍ 🗃 👆 🔖 &amp; 🚶‍♀️ ⚫️ `openapi_tags` 🔢:
    
    ```Python hl_lines="3-16  18"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    👀 👈 👆 💪 ⚙️ ✍ 🔘 📛, 🖼 "💳" 🔜 🎦 🦁 (**💳**) &amp; "🎀" 🔜 🎦 ❕ (_🎀_).
    
    !!! tip
        👆 🚫 ✔️ 🚮 🗃 🌐 🔖 👈 👆 ⚙️.
    
    ### ⚙️ 👆 🔖
    
    ⚙️ `tags` 🔢 ⏮️ 👆 *➡ 🛠️* (&amp; `APIRouter`Ⓜ) 🛠️ 👫 🎏 🔖:
    
    ```Python hl_lines="21  26"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/handling-errors.md

    アプリ開発中に本体のログを取ってデバッグしたり、ユーザーに返したりなどに使用することができます。
    
    ```Python hl_lines="14"
    {!../../../docs_src/handling_errors/tutorial005.py!}
    ```
    
    ここで、以下のような無効な項目を送信してみてください:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    受信したボディを含むデータが無効であることを示すレスポンスが表示されます:
    
    ```JSON hl_lines="12 13 14 15"
    {
      "detail": [
        {
          "loc": [
            "body",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top