Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 794 for py (0.02 sec)

  1. docs/em/docs/advanced/websockets.md

    👉, ↗️, 🚫 ⚖ & 👆 🚫🔜 ⚙️ ⚫️ 🏭.
    
    🏭 👆 🔜 ✔️ 1️⃣ 🎛 🔛.
    
    ✋️ ⚫️ 🙅 🌌 🎯 🔛 💽-🚄 *️⃣ & ✔️ 👷 🖼:
    
    {* ../../docs_src/websockets/tutorial001.py hl[2,6:38,41:43] *}
    
    ## ✍ `websocket`
    
    👆 **FastAPI** 🈸, ✍ `websocket`:
    
    {* ../../docs_src/websockets/tutorial001.py hl[1,46:47] *}
    
    /// note | 📡 ℹ
    
    👆 💪 ⚙️ `from starlette.websockets import WebSocket`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. docs/ko/docs/tutorial/first-steps.md

    # 첫걸음
    
    가장 단순한 FastAPI 파일은 다음과 같이 보일 것입니다:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    위 코드를 `main.py`에 복사합니다.
    
    라이브 서버를 실행합니다:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial003.py hl[6,11] *}
    
    Ansonsten würde der Pfad für `/users/{user_id}` auch `/users/me` auswerten, und annehmen, dass ein Parameter `user_id` mit dem Wert `"me"` übergeben wurde.
    
    Sie können eine Pfadoperation auch nicht erneut definieren:
    
    {* ../../docs_src/path_params/tutorial003b.py hl[6,11] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/response-model.md

    대신 평문 비밀번호로 입력 모델을 만들고 해당 비밀번호 없이 출력 모델을 만들 수 있습니다:
    
    {* ../../docs_src/response_model/tutorial003.py hl[9,11,16] *}
    
    여기서 *경로 작동 함수*가 비밀번호를 포함하는 동일한 입력 사용자를 반환할지라도:
    
    {* ../../docs_src/response_model/tutorial003.py hl[24] *}
    
    ...`response_model`을 `UserOut` 모델로 선언했기 때문에 비밀번호를 포함하지 않습니다:
    
    {* ../../docs_src/response_model/tutorial003.py hl[22] *}
    
    따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다.
    
    ## 문서에서 보기
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. docs/en/docs/advanced/websockets.md

    In your WebSocket route you can `await` for messages and send messages.
    
    {* ../../docs_src/websockets/tutorial001.py hl[48:52] *}
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it { #try-it }
    
    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial001.py hl[14] *}
    
    👉 🔜 ⚒ `tags` 📇, 👐 ⚫️ 🚫 📣 🆎 🔣 📇.
    
    ## 📇 🏑 ⏮️ 🆎 🔢
    
    ✋️ 🐍 ✔️ 🎯 🌌 📣 📇 ⏮️ 🔗 🆎, ⚖️ "🆎 🔢":
    
    ### 🗄 ⌨ `List`
    
    🐍 3️⃣.9️⃣ &amp; 🔛 👆 💪 ⚙️ 🐩 `list` 📣 👫 🆎 ✍ 👥 🔜 👀 🔛. 👶
    
    ✋️ 🐍 ⏬ ⏭ 3️⃣.9️⃣ (3️⃣.6️⃣ &amp; 🔛), 👆 🥇 💪 🗄 `List` ⚪️➡️ 🐩 🐍 `typing` 🕹:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    
    ### 📣 `list` ⏮️ 🆎 🔢
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *}
    
    ## Додавання регулярних виразів
    
    Ви можете визначити <abbr title="Регулярний вираз (regex або regexp) — це послідовність символів, яка визначає шаблон для пошуку в рядках.">регулярний вираз</abbr> pattern, якому має відповідати параметр:
    
    {* ../../docs_src/query_params_str_validations/tutorial004_an_py310.py hl[11] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:17:24 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Получение данных пользователя
    
    `get_current_user` будет использовать созданную нами (ненастоящую) служебную функцию, которая принимает токен в виде `строки` и возвращает нашу Pydantic-модель `User`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Внедрение зависимости текущего пользователя
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:52:27 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top