Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 794 for py (0.01 sec)

  1. docs/nl/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!}
    ```
    
    ////
    
    #### Gebruik van `Union` of `Optional`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/body-nested-models.md

    ### Definir un submodelo
    
    Por ejemplo, podemos definir un modelo `Image`:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Usar el submodelo como tipo
    
    Y luego podemos usarlo como el tipo de un atributo:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *}
    
    Esto significaría que **FastAPI** esperaría un cuerpo similar a:
    
    ```JSON
    {
        "name": "Foo",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/settings.md

    Por exemplo, você pode adicionar um arquivo `config.py` com:
    
    {* ../../docs_src/settings/app01/config.py *}
    
    E utilizar essa configuração em `main.py`:
    
    {* ../../docs_src/settings/app01/main.py hl[3,11:13] *}
    
    /// tip | Dica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/websockets.md

    {*../../docs_src/websockets/tutorial001.py hl[48:52]*}
    
    Você pode receber e enviar dados binários, de texto e JSON.
    
    ## Tente você mesmo
    
    Se seu arquivo for nomeado `main.py`, execute sua aplicação com:
    
    <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: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Файл `main.py`:
    
    {* ../../docs_src/async_tests/main.py *}
    
    Файл `test_main.py` содержит тесты для `main.py`, теперь он может выглядеть так:
    
    {* ../../docs_src/async_tests/test_main.py *}
    
    ## Запуск тестов
    
    Вы можете запустить свои тесты как обычно:
    
    <div class="termy">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jan 27 15:36:13 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/debugging.md

    {* ../../docs_src/debugging/tutorial001.py hl[1,15] *}
    
    ### `__name__ == "__main__"` 에 대하여
    
    `__name__ == "__main__"`의 주요 목적은 다음과 같이 파일이 호출될 때 실행되는 일부 코드를 갖는 것입니다.
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    그러나 다음과 같이 다른 파일을 가져올 때는 호출되지 않습니다.
    
    ```Python
    from myapp import app
    ```
    
    #### 추가 세부사항
    
    파일 이름이 `myapp.py`라고 가정해 보겠습니다.
    
    다음과 같이 실행하면
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/response-model.md

    👥 💪 ↩️ ✍ 🔢 🏷 ⏮️ 🔢 🔐 &amp; 🔢 🏷 🍵 ⚫️:
    
    {* ../../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
    - 12.2K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/path-operation-advanced-configuration.md

    //// tab | Pydantic v2
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007.py hl[17:22,24] *}
    
    ////
    
    //// tab | Pydantic v1
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py hl[17:22,24] *}
    
    ////
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/query-params-str-validations.md

    ### `Query` 임포트
    
    이를 위해 먼저 `fastapi`에서 `Query`를 임포트합니다:
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[3] *}
    
    ## 기본값으로 `Query` 사용
    
    이제 `Query`를 매개변수의 기본값으로 사용하여 `max_length` 매개변수를 50으로 설정합니다:
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[9] *}
    
    기본값 `None`을 `Query(None)`으로 바꿔야 하므로, `Query`의 첫 번째 매개변수는 기본값을 정의하는 것과 같은 목적으로 사용됩니다.
    
    그러므로:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/path-operation-configuration.md

    **FastAPI** unterstützt diese genauso wie einfache Strings:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b.py hl[1,8:10,13,18] *}
    
    ## Zusammenfassung und Beschreibung
    
    Sie können eine Zusammenfassung (`summary`) und eine Beschreibung (`description`) hinzufügen:
    
    {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}
    
    ## Beschreibung mittels Docstring
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top