Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs/de/docs/tutorial/body-nested-models.md

    Wir können zum Beispiel ein `Image`-Modell definieren.
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Das Kindmodell als Typ verwenden
    
    Und dann können wir es als Typ eines Attributes verwenden.
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *}
    
    Das würde bedeuten, dass **FastAPI** einen Body erwartet wie:
    
    ```JSON
    {
        "name": "Foo",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *}
    
    ### Leer Un Hero
    
    Podemos **leer** un único `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### Eliminar un Hero
    
    También podemos **eliminar** un `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *}
    
    ### Ejecutar la App
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ### `HTMLResponse`
    
    Toma algún texto o bytes y devuelve un response HTML, como leíste arriba.
    
    ### `PlainTextResponse`
    
    Toma algún texto o bytes y devuelve un response de texto plano.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/settings.md

    🖼, 👆 💪 ✔️ 📁 `config.py` ⏮️:
    
    {* ../../docs_src/settings/app01/config.py *}
    
    & ⤴️ ⚙️ ⚫️ 📁 `main.py`:
    
    {* ../../docs_src/settings/app01/main.py hl[3,11:13] *}
    
    /// tip
    
    👆 🔜 💪 📁 `__init__.py` 👆 👀 🔛 [🦏 🈸 - 💗 📁](../tutorial/bigger-applications.md){.internal-link target=_blank}.
    
    ///
    
    ## ⚒ 🔗
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. docs/ru/docs/tutorial/path-operation-configuration.md

    **FastAPI** поддерживает это так же, как и в случае с обычными строками:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b.py hl[1,8:10,13,18] *}
    
    ## Краткое и развёрнутое содержание
    
    Вы можете добавить параметры `summary` и `description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}
    
    ## Описание из строк документации
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top