Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for Item (6.83 sec)

  1. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

                        },
                        "summary": "Read Item",
                        "operationId": "read_item_items__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "string"},
                                "name": "item_id",
                                "in": "path",
                            }
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  2. docs/pl/docs/index.md

    Spróbuj zmienić linijkę:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...z:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...na:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...i zobacz jak edytor kodu automatycznie uzupełni atrybuty i będzie znał ich typy:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  3. docs/ru/docs/index.md

    Попробуйте изменить строку с помощью:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...из:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...в:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ... и посмотрите, как ваш редактор будет автоматически заполнять атрибуты и узнавать их типы:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. docs/it/docs/index.md

    Prova a cambiare questa riga di codice:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...da:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...a:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. 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 ...
    ```
    
    ......注意观察编辑器是如何自动补全属性并且还知道它们的类型:
    
    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)
  6. tests/test_tutorial/test_bigger_applications/test_main_an.py

                },
                "/items/{item_id}": {
                    "get": {
                        "tags": ["items"],
                        "summary": "Read Item",
                        "operationId": "read_item_items__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "string"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

                },
                "/items/{item_id}": {
                    "get": {
                        "tags": ["items"],
                        "summary": "Read Item",
                        "operationId": "read_item_items__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "string"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/path-params.md

    {!../../../docs_src/path_params/tutorial001.py!}
    ```
    
    La valeur du paramètre `item_id` sera transmise à la fonction dans l'argument `item_id`.
    
    Donc, si vous exécutez cet exemple et allez sur <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>,
    vous verrez comme réponse :
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Paramètres de chemin typés
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/path-params.md

    {!../../../docs_src/path_params/tutorial001.py!}
    ```
    
    Значение параметра пути `item_id` будет передано в функцию в качестве аргумента `item_id`.
    
    Если запустите этот пример и перейдёте по адресу: <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, то увидите ответ:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Параметры пути с типами
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/query-params-str-validations.md

    Imaginez que vous vouliez que votre paramètre se nomme `item-query`.
    
    Comme dans la requête :
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Mais `item-query` n'est pas un nom de variable valide en Python.
    
    Le nom le plus proche serait `item_query`.
    
    Mais vous avez vraiment envie que ce soit exactement `item-query`...
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
Back to top