Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 793 for py$ (1.6 sec)

  1. docs/pt/docs/tutorial/request-files.md

    ///
    
    ## Importe `File`
    
    Importe `File` e `UploadFile` de `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Definir Parâmetros `File`
    
    Crie parâmetros de arquivo da mesma forma que você faria para `Body` ou `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Informação
    
    `File` é uma classe que herda diretamente de `Form`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/fa/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // اینجا هنوز متغیر محیطی رو تنظیم نکردیم
    $ python main.py
    
    // چون متغیر محیطی رو تنظیم نکردیم، مقدار پیش‌فرض رو می‌گیریم
    
    Hello World from Python
    
    // ولی اگه اول یه متغیر محیطی بسازیم
    $ export MY_NAME="Wade Wilson"
    
    // و بعد دوباره برنامه رو صدا کنیم
    $ python main.py
    
    // حالا می‌تونه متغیر محیطی رو بخونه
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jul 25 09:27:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[8,13] *}
    
    ### Exceptions auslösen
    
    Die Abhängigkeiten können Exceptions `raise`n, genau wie normale Abhängigkeiten:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[10,15] *}
    
    ### Rückgabewerte
    
    Und sie können Werte zurückgeben oder nicht, die Werte werden nicht verwendet.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/advanced-dependencies.md

    为此,需要声明 `__call__` 方法:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[10] *}
    
    本例中,**FastAPI**  使用 `__call__` 检查附加参数及子依赖项,稍后,还要调用它向*路径操作函数*传递值。
    
    ## 参数化实例
    
    接下来,使用 `__init__` 声明用于**参数化**依赖项的实例参数:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[7] *}
    
    本例中,**FastAPI** 不使用 `__init__`,我们要直接在代码中使用。
    
    ## 创建实例
    
    使用以下代码创建类实例:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[16] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/sql-databases.md

    단일 `Hero`를 **조회**할 수도 있습니다.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### Hero 삭제하기
    
    `Hero`를 **삭제**하는 것도 가능합니다.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *}
    
    ### 애플리케이션 실행하기
    
    애플리케이션을 실행하려면 다음 명령을 사용합니다:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 24 16:14:29 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. docs/es/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
    
    Si ocurre una excepción, la `Request instance` aún estará en el alcance, así que podemos leer y hacer uso del request body cuando manejamos el error:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[16:18] *}
    
    ## Clase personalizada `APIRoute` en un router
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/metadata.md

    {* ../../docs_src/metadata/tutorial004.py hl[3:16,18] *}
    
    👀 👈 👆 💪 ⚙️ ✍ 🔘 📛, 🖼 "💳" 🔜 🎦 🦁 (**💳**) &amp; "🎀" 🔜 🎦 ❕ (_🎀_).
    
    /// tip
    
    👆 🚫 ✔️ 🚮 🗃 🌐 🔖 👈 👆 ⚙️.
    
    ///
    
    ### ⚙️ 👆 🔖
    
    ⚙️ `tags` 🔢 ⏮️ 👆 *➡ 🛠️* (&amp; `APIRouter`Ⓜ) 🛠️ 👫 🎏 🔖:
    
    {* ../../docs_src/metadata/tutorial004.py hl[21,26] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Тут, навіть якщо *функція операції шляху* повертає об'єкт користувача, який містить пароль:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ...ми оголосили `response_model` як нашу модель `UserOut`, яка не містить пароля:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    В таком случае, даже несмотря на то, что наша *функция операции пути* возвращает тот же самый объект пользователя с паролем, полученным на вход:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Обратите внимание на метод `__init__`, используемый для создания экземпляра класса:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...имеет те же параметры, что и ранее используемая функция `common_parameters`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top