Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for name (0.15 sec)

  1. docs/en/docs/advanced/generate-clients.md

    In this case you will have to ensure that each operation ID is **unique** in some other way.
    
    For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name).
    
    ### Custom Generate Unique ID Function
    
    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)
  2. docs/ru/docs/python-types.md

    Вы вводите первый параметр функции, `first_name`, затем точку (`.`), а затем нажимаете `Ctrl+Space`, чтобы запустить дополнение.
    
    Но, к сожалению, ничего полезного не выходит:
    
    <img src="/img/python-types/image01.png">
    
    ### Добавим типы
    
    Давайте изменим одну строчку в предыдущей версии.
    
    Мы изменим именно этот фрагмент, параметры функции, с:
    
    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. docs/uk/docs/python-types.md

    Ви надрукуєте перший параметр функції, `first_name`, тоді крапку (`.`), а тоді натиснете `Ctrl+Space`, щоб запустити автозаповнення.
    
    Але, на жаль, ви не отримаєте нічого корисного:
    
    <img src="/img/python-types/image01.png">
    
    ### Додайте типи
    
    Давайте змінимо один рядок з попередньої версії.
    
    Ми змінимо саме цей фрагмент, параметри функції, з:
    
    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. 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"
        }
    }
    ```
    
    Wiederum, nur mit dieser Deklaration erhalten Sie von **FastAPI**:
    
    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)
  5. docs/vi/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Sau đó có thể được sử dụng:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. docs/pl/docs/index.md

    ---
    
    To dopiero początek, ale już masz mniej-więcej pojęcie jak to wszystko działa.
    
    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 ...
    ```
    
    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)
  7. 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)
  8. docs/it/docs/index.md

    Questa è solo la punta dell'iceberg, ma dovresti avere già un'idea di come il tutto funzioni.
    
    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)
  9. docs/zh/docs/index.md

    * 直接提供 2 种交互式文档 web 界面。
    
    ---
    
    虽然我们才刚刚开始,但其实你已经了解了这一切是如何工作的。
    
    尝试更改下面这行代码:
    
    ```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)
  10. docs/en/docs/tutorial/response-model.md

    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    they will be included in the response.
    
    #### Data with the same values as the defaults
    
    If the data has the same values as the default ones, like the item with ID `baz`:
    
    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
        "description": None,
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
Back to top