Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 208 for url_lines (0.06 sec)

  1. docs/uk/docs/tutorial/response-model.md

    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    вони будуть включені у відповідь.
    
    #### Дані з тими самими значеннями, що й типові
    
    Якщо дані мають ті самі значення, що й типові, як у елемента з item_id `baz`:
    
    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/response-model.md

    #### Если значение поля отличается от значения по-умолчанию
    
    Если для некоторых полей модели, имеющих значения по-умолчанию, значения были явно установлены - как для элемента с ID = `Bar`, ответ будет таким:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    они не будут исключены из ответа.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/generate-clients.md

    Da es im lokalen Projekt installiert ist, könnten Sie diesen Befehl wahrscheinlich nicht direkt aufrufen, sondern würden ihn in Ihre Datei `package.json` einfügen.
    
    Diese könnte so aussehen:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "scripts": {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 17 11:53:56 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body-multiple-params.md

    ```Python
    item: Item = Body(embed=True)
    ```
    
    como em:
    
    {* ../../docs_src/body_multiple_params/tutorial005_py310.py hl[15] *}
    
    Neste caso o **FastAPI** esperará um corpo como:
    
    ```JSON hl_lines="2"
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    ao invés de:
    
    ```JSON
    {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body-nested-models.md

    ## 🔢 ⏮️ 📇 📊
    
    👆 💪 ⚙️ Pydantic 🏷 🏾 `list`, `set`, ♒️:
    
    {* ../../docs_src/body_nested_models/tutorial006.py hl[20] *}
    
    👉 🔜 ⌛ (🗜, ✔, 📄, ♒️) 🎻 💪 💖:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": [
            "rock",
            "metal",
            "bar"
        ],
        "images": [
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/generate-clients.md

    Como ela está instalada no projeto local, você provavelmente não conseguiria chamar esse comando diretamente, mas você o colocaria no seu arquivo `package.json`.
    
    Poderia ser assim:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "scripts": {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 17 11:53:56 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-model.md

    ///
    
    #### Daten mit Werten für Felder mit Defaultwerten
    
    Aber wenn ihre Daten Werte für Modellfelder mit Defaultwerten haben, wie etwa der Artikel mit der ID `bar`:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    dann werden diese Werte in der Response enthalten sein.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. docs/pl/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Albo użyj <code>async def</code>...</summary>
    
    Jeżeli twój kod korzysta z `async` / `await`, użyj `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/response-model.md

    ///
    
    #### Datos con valores para campos con valores por defecto
    
    Pero si tus datos tienen valores para los campos del modelo con valores por defecto, como el artículo con ID `bar`:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    serán incluidos en el response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/testing.md

    ```
    
    📁 `main.py` 👆 ✔️ 👆 **FastAPI** 📱:
    
    
    {* ../../docs_src/app_testing/main.py *}
    
    ### 🔬 📁
    
    ⤴️ 👆 💪 ✔️ 📁 `test_main.py` ⏮️ 👆 💯. ⚫️ 💪 🖖 🔛 🎏 🐍 📦 (🎏 📁 ⏮️ `__init__.py` 📁):
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    ↩️ 👉 📁 🎏 📦, 👆 💪 ⚙️ ⚖ 🗄 🗄 🎚 `app` ⚪️➡️ `main` 🕹 (`main.py`):
    
    {* ../../docs_src/app_testing/test_main.py hl[3] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top