Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for Price (2.36 sec)

  1. docs/zh/docs/index.md

    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ......从:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ......改为:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ......注意观察编辑器是如何自动补全属性并且还知道它们的类型:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    <a href="https://fastapi.tiangolo.com/zh/tutorial/">教程 - 用户指南</a> 中有包含更多特性的更完整示例。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/generate-clients.md

    Sie erhalten außerdem automatische Vervollständigung für die zu sendende Payload:
    
    <img src="/img/tutorial/generate-clients/image03.png">
    
    !!! tip "Tipp"
        Beachten Sie die automatische Vervollständigung für `name` und `price`, welche in der FastAPI-Anwendung im `Item`-Modell definiert wurden.
    
    Sie erhalten Inline-Fehlerberichte für die von Ihnen gesendeten Daten:
    
    <img src="/img/tutorial/generate-clients/image04.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    This would mean that **FastAPI** would expect a body similar to:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/body.md

    例えば、上記のモデルは以下の様なJSON「`オブジェクト`」(もしくはPythonの `dict` ) を宣言しています:
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ...`description` と `tax` はオプショナル (デフォルト値は `None`) なので、以下のJSON「`オブジェクト`」も有効です:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## パラメータとして宣言
    
    *パスオペレーション* に加えるために、パスパラメータやクエリパラメータと同じ様に宣言します:
    
    ```Python hl_lines="16"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial004_py310.py!}
        ```
    
    👉 🔜 ⛓ 👈 **FastAPI** 🔜 ⌛ 💪 🎏:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/bn/docs/index.md

    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...পুর্বে:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...পরবর্তীতে:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...এবং দেখুন কিভাবে আপনার এডিটর উপাদানগুলোকে সয়ংক্রিয়ভাবে-সম্পন্ন করবে এবং তাদের ধরন জানতে পারবে:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/body-nested-models.md

        ```
    
    Das würde bedeuten, dass **FastAPI** einen Body erwartet wie:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/generate-clients.md

    You will also get autocompletion for the payload to send:
    
    <img src="/img/tutorial/generate-clients/image03.png">
    
    !!! tip
        Notice the autocompletion for `name` and `price`, that was defined in the FastAPI application, in the `Item` model.
    
    You will have inline errors for the data that you send:
    
    <img src="/img/tutorial/generate-clients/image04.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/response-model.md

    Wenn Sie also den Artikel mit der ID `foo` bei der *Pfadoperation* anfragen, wird (ohne die Defaultwerte) die Response sein:
    
    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    !!! info
        In Pydantic v1 hieß diese Methode `.dict()`, in Pydantic v2 wurde sie deprecated (aber immer noch unterstützt) und in `.model_dump()` umbenannt.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  10. docs/fr/docs/index.md

    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ... de :
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ... vers :
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ... et voyez comment votre éditeur complétera automatiquement les attributs et connaîtra leurs types :
    
    ![compatibilité IDE](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
Back to top