Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1581 - 1590 of 1,989 for py$ (0.02 sec)

  1. docs/ja/docs/advanced/websockets.md

    しかし、これはWebSocketのサーバーサイドに焦点を当て、実用的な例を示す最も簡単な方法です。
    
    ```Python hl_lines="2  6-38  41-43"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    ## `websocket` を作成する
    
    **FastAPI** アプリケーションで、`websocket` を作成します。
    
    ```Python hl_lines="1  46-47"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    /// note | "技術詳細"
    
    `from starlette.websockets import WebSocket` を使用しても構いません.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/generate-clients.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="7-9  12-13  16-17  21"
    {!> ../../docs_src/generate_clients/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-11  14-15  18  19  23"
    {!> ../../docs_src/generate_clients/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/generate-clients.md

    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="9-11  14-15  18  19  23"
    {!> ../../docs_src/generate_clients/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ & 🔛
    
    ```Python hl_lines="7-9  12-13  16-17  21"
    {!> ../../docs_src/generate_clients/tutorial001_py39.py!}
    ```
    
    ////
    
    👀 👈 *➡ 🛠️* 🔬 🏷 👫 ⚙️ 📨 🚀 & 📨 🚀, ⚙️ 🏷 `Item` & `ResponseMessage`.
    
    ### 🛠️ 🩺
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### 例外の発生
    
    これらの依存関係は通常の依存関係と同じように、例外を`raise`発生させることができます:
    
    ```Python hl_lines="8 13"
    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### 戻り値
    
    そして、値を返すことも返さないこともできますが、値は使われません。
    
    つまり、すでにどこかで使っている通常の依存関係(値を返すもの)を再利用することができ、値は使われなくても依存関係は実行されます:
    
    ```Python hl_lines="9 14"
    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/extending-openapi.md

    First, write all your **FastAPI** application as normally:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[1,4,7:9] *}
    
    ### Generate the OpenAPI schema
    
    Then, use the same utility function to generate the OpenAPI schema, inside a `custom_openapi()` function:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[2,15:21] *}
    
    ### Modify the OpenAPI schema
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. docs/tr/docs/python-types.md

    ```Python hl_lines="1"
    {!../../docs_src/python_types/tutorial003.py!}
    ```
    
    Editör değişkenlerin tiplerini bildiğinden, yalnızca otomatik tamamlama değil, hata kontrolleri de sağlar:
    
    <img src="/img/python-types/image04.png">
    
    Artık `age` değişkenini `str(age)` olarak kullanmanız gerektiğini biliyorsunuz:
    
    ```Python hl_lines="2"
    {!../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## Tip bildirme
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python hl_lines="9-13"
    {!> ../../docs_src/dependencies/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11-15"
    {!> ../../docs_src/dependencies/tutorial002.py!}
    ```
    
    ////
    
    注意用于创建类实例的 `__init__` 方法:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="10"
    {!> ../../docs_src/dependencies/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.6+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/first-steps.md

    ✋️ ➡️ 🖊 👆 🕰 👂 🌕 📏 🔧 🔎 👈 🐥 🍖 ℹ 👆 💪.
    
    ➡️ ⚙️ 🧰 🚚 **FastAPI** 🍵 💂‍♂.
    
    ## ❔ ⚫️ 👀
    
    ➡️ 🥇 ⚙️ 📟 &amp; 👀 ❔ ⚫️ 👷, &amp; ⤴️ 👥 🔜 👟 🔙 🤔 ⚫️❔ 😥.
    
    ## ✍ `main.py`
    
    📁 🖼 📁 `main.py`:
    
    ```Python
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    ## 🏃 ⚫️
    
    /// info
    
    🥇 ❎ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/index.md

    ⚫️ 🔢 👈 💪 ✊ 🌐 🎏 🔢 👈 *➡ 🛠️ 🔢* 💪 ✊:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="8-11"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    ```Python hl_lines="6-7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    👈 ⚫️.
    
    **2️⃣ ⏸**.
    
    &amp; ⚫️ ✔️ 🎏 💠 &amp; 📊 👈 🌐 👆 *➡ 🛠️ 🔢* ✔️.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. docs/pt/docs/how-to/custom-request-and-route.md

    ```Python hl_lines="13  15"
    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    Se uma exceção ocorrer, a instância `Request` ainda estará em escopo, então podemos ler e fazer uso do corpo da requisição ao lidar com o erro:
    
    ```Python hl_lines="16-18"
    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    ## Classe `APIRoute` personalizada em um router
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top