Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 794 for py (0.01 sec)

  1. docs/en/docs/python-types.md

    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ alternative
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b.py!}
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py *}
    
    Copia eso en un archivo `main.py`.
    
    Ejecuta el servidor en vivo:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002.py hl[7] *}
    
    ////
    
    But keep in mind that if you use `Annotated`, you won't have this problem, it won't matter as you're not using the function parameter default values for `Query()` or `Path()`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py39.py *}
    
    ## Order the parameters as you need, tricks { #order-the-parameters-as-you-need-tricks }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. docs/ru/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001.py hl[48:52] *}
    
    Вы можете получать и отправлять двоичные, текстовые и JSON данные.
    
    ## Проверка в действии
    
    Если ваш файл называется `main.py`, то запустите приложение командой:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Feb 03 13:33:39 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Obwohl unsere *Pfadoperation-Funktion* hier denselben `user` von der Eingabe zurückgibt, der das Passwort enthält:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ... haben wir deklariert, dass `response_model` das Modell `UserOut` ist, welches das Passwort nicht enthält:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/path-params-numeric-validations.md

    ## 🗄 ➡
    
    🥇, 🗄 `Path` ⚪️➡️ `fastapi`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[3] *}
    
    ## 📣 🗃
    
    👆 💪 📣 🌐 🎏 🔢 `Query`.
    
    🖼, 📣 `title` 🗃 💲 ➡ 🔢 `item_id` 👆 💪 🆎:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[10] *}
    
    /// note
    
    ➡ 🔢 🕧 ✔ ⚫️ ✔️ 🍕 ➡.
    
    , 👆 🔜 📣 ⚫️ ⏮️ `...` ™ ⚫️ ✔.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002.py hl[25] *}
    
    ## 🤚 👩‍💻
    
    `get_current_user` 🔜 ⚙️ (❌) 🚙 🔢 👥 ✍, 👈 ✊ 🤝 `str` &amp; 📨 👆 Pydantic `User` 🏷:
    
    {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *}
    
    ## 💉 ⏮️ 👩‍💻
    
    🔜 👥 💪 ⚙️ 🎏 `Depends` ⏮️ 👆 `get_current_user` *➡ 🛠️*:
    
    {* ../../docs_src/security/tutorial002.py hl[31] *}
    
    👀 👈 👥 📣 🆎 `current_user` Pydantic 🏷 `User`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/zh-hant/docs/tutorial/first-steps.md

    # 第一步
    
    最簡單的 FastAPI 檔案可能看起來像這樣:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    將其複製到一個名為 `main.py` 的文件中。
    
    執行即時重新載入伺服器(live server):
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:20:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/es/docs/how-to/custom-docs-ui-assets.md

    Supongamos que la estructura de archivos de tu proyecto se ve así:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    Ahora crea un directorio para almacenar esos archivos estáticos.
    
    Tu nueva estructura de archivos podría verse así:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### Descarga los archivos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Apr 28 18:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/debugging.md

    In your FastAPI application, import and run `uvicorn` directly:
    
    {* ../../docs_src/debugging/tutorial001.py hl[1,15] *}
    
    ### About `__name__ == "__main__"` { #about-name-main }
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top