Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,650 for py$ (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/uk/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Оголошення параметрів `Header`
    
    Потім оголосіть параметри заголовків, використовуючи ту ж структуру, що й для `Path`, `Query` та `Cookie`.
    
    Ви можете визначити значення за замовчуванням, а також усі додаткові параметри валідації або анотації:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Технічні деталі
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 22 22:02:19 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/debugging.md

    {* ../../docs_src/debugging/tutorial001_py39.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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/body-nested-models.md

    Für ein Beispiel können wir ein `Image`-Modell definieren.
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Das Kindmodell als Typ verwenden { #use-the-submodel-as-a-type }
    
    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 wie folgt erwartet:
    
    ```JSON
    {
        "name": "Foo",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *}
    
    ## Zusammenfassung und Beschreibung { #summary-and-description }
    
    Sie können eine <abbr title="Zusammenfassung">`summary`</abbr> und eine <abbr title="Beschreibung">`description`</abbr> hinzufügen:
    
    {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}
    
    ## Beschreibung mittels Docstring { #description-from-docstring }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *}
    
    ## Краткое и развёрнутое содержание { #summary-and-description }
    
    Вы можете добавить параметры `summary` и `description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}
    
    ## Описание из строк документации { #description-from-docstring }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/path-operation-configuration.md

    **FastAPI** supports that the same way as with plain strings:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *}
    
    ## Summary and description { #summary-and-description }
    
    You can add a `summary` and `description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}
    
    ## Description from docstring { #description-from-docstring }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001_py39.py hl[48:52] *}
    
    Você pode receber e enviar dados binários, de texto e JSON.
    
    ## Tente { #try-it }
    
    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)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Presta atención al método `__init__` usado para crear la instance de la clase:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...tiene los mismos parámetros que nuestros `common_parameters` anteriores:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/debugging.md

    在你的 FastAPI 应用中直接导入 `uvicorn` 并运行:
    
    {* ../../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`。
    
    如果你这样运行:
    
    <div class="termy">
    
    ```console
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    #### Récupérer la *valeur de l'énumération*
    
    Vous pouvez obtenir la valeur réel d'un membre (une chaîne de caractères ici), avec `model_name.value`, ou en général, `votre_membre_d'enum.value` :
    
    {* ../../docs_src/path_params/tutorial005.py hl[20] *}
    
    /// tip | Astuce
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.8K bytes
    - Click Count (0)
Back to Top