Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 239 for name (0.43 sec)

  1. docs/em/docs/tutorial/debugging.md

    👆 💪 🔗 🕹 👆 👨‍🎨, 🖼 ⏮️ 🎙 🎙 📟 ⚖️ 🗒.
    
    ## 🤙 `uvicorn`
    
    👆 FastAPI 🈸, 🗄 & 🏃 `uvicorn` 🔗:
    
    ```Python hl_lines="1  15"
    {!../../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### 🔃 `__name__ == "__main__"`
    
    👑 🎯 `__name__ == "__main__"` ✔️ 📟 👈 🛠️ 🕐❔ 👆 📁 🤙 ⏮️:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ✋️ 🚫 🤙 🕐❔ ➕1️⃣ 📁 🗄 ⚫️, 💖:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/metadata.md

    It takes a list containing one dictionary for each tag.
    
    Each dictionary can contain:
    
    * `name` (**required**): a `str` with the same tag name you use in the `tags` parameter in your *path operations* and `APIRouter`s.
    * `description`: a `str` with a short description for the tag. It can have Markdown and will be shown in the docs UI.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-multiple-params.md

    So, it will then use the parameter names as keys (field names) in the body, and expect a body like:
    
    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        },
        "user": {
            "username": "dave",
            "full_name": "Dave Grohl"
        }
    }
    ```
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/https.md

    Here's an example of how an HTTPS API could look like, step by step, paying attention mainly to the ideas important for developers.
    
    ### Domain Name
    
    It would probably all start by you **acquiring** some **domain name**. Then, you would configure it in a DNS server (possibly your same cloud provider).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. docs/ru/docs/deployment/docker.md

        В данном случае это та же самая директория (`.`).
    
    ### Запуск Docker-контейнера
    
    * Запустите контейнер, основанный на вашем образе:
    
    <div class="termy">
    
    ```console
    $ docker run -d --name mycontainer -p 80:80 myimage
    ```
    
    </div>
    
    ## Проверка
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  6. docs/de/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # Ein Pydantic-Modell
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Das kann nun wie folgt verwendet werden:
    
    ```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: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/body-nested-models.md

        ```
    
    Это означает, что **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"
        }
    }
    ```
    
    Ещё раз: сделав такое объявление, с помощью **FastAPI** вы получите:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    상기와 같은 방식으로 "호출(실행)" 할 수 있다면 "호출 가능"이 됩니다.
    
    ## 의존성으로서의 클래스
    
    파이썬 클래스의 인스턴스를 생성하기 위해 사용하는 것과 동일한 문법을 사용한다는 걸 알 수 있습니다.
    
    예를 들어:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    이 경우에 `fluffy`는 클래스 `Cat`의 인스턴스입니다. 그리고 우리는 `fluffy`를 만들기 위해서 `Cat`을 "호출"했습니다.
    
    따라서, 파이썬 클래스는 **호출 가능**합니다.
    
    그래서 **FastAPI**에서는 파이썬 클래스를 의존성으로 사용할 수 있습니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. docs/hu/docs/index.md

    Eddig csak a felszínt kapargattuk, de a lényeg hogy most már könnyebben érthető hogyan működik.
    
    Próbáld kicserélni a következő sorban:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...ezt:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...erre:
    
    ```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
    - 20.2K bytes
    - Viewed (0)
  10. docs/es/docs/index.md

    ---
    
    Hasta ahora, escasamente vimos lo básico pero ya tienes una idea de cómo funciona.
    
    Intenta cambiando la línea a:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...de:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...a:
    
    ```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
    - 19K bytes
    - Viewed (0)
Back to top