Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 445 for dictId (0.03 sec)

  1. docs/ko/docs/advanced/custom-response.md

    기본 `Response` 클래스는 다른 모든 응답 클래스의 부모 클래스 입니다.
    
    이 클래스를 직접 반환할 수 있습니다.
    
    다음 매개변수를 받을 수 있습니다:
    
    * `content` - `str` 또는 `bytes`.
    * `status_code` - HTTP 상태코드를 나타내는  `int`.
    * `headers` - 문자열로 이루어진 `dict`.
    * `media_type` - 미디어 타입을 나타내는 `str` 예: `"text/html"`.
    
    FastAPI (실제로는 Starlette)가 자동으로 `Content-Length` 헤더를 포함시킵니다. 또한 `media_type`에 기반하여 `Content-Type` 헤더를 포함하며, 텍스트 타입의 경우 문자 집합을 추가 합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    🕐❔ 🙋‍♀ `HTTPException`, 👆 💪 🚶‍♀️ 🙆 💲 👈 💪 🗜 🎻 🔢 `detail`, 🚫 🕴 `str`.
    
    👆 💪 🚶‍♀️ `dict`, `list`, ♒️.
    
    👫 🍵 🔁 **FastAPI** & 🗜 🎻.
    
    ///
    
    ## 🚮 🛃 🎚
    
    📤 ⚠ 🌐❔ ⚫️ ⚠ 💪 🚮 🛃 🎚 🇺🇸🔍 ❌. 🖼, 🆎 💂‍♂.
    
    👆 🎲 🏆 🚫 💪 ⚙️ ⚫️ 🔗 👆 📟.
    
    ✋️ 💼 👆 💪 ⚫️ 🏧 😐, 👆 💪 🚮 🛃 🎚:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | Порада
    
    Під час виклику `HTTPException` Ви можете передати будь-яке значення, яке може бути перетворене в JSON, як параметр `detail`, а не лише рядок (`str`).
    
    Ви можете передати `dict`, `list` тощо.
    
    Вони обробляються автоматично за допомогою **FastAPI** та перетворюються в JSON.
    
    ///
    
    ## Додавання власних заголовків
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:31:13 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/security/get-current-user.md

    そして、セキュリティ要件のためにどんなモデルやデータでも利用することができます。(この場合は、 Pydanticモデルの `User`)
    
    しかし、特定のデータモデルやクラス、型に制限されることはありません。
    
    モデルを、 `id` と `email` は持つが、 `username` は全く持たないようにしたいですか? わかりました。同じ手段でこうしたこともできます。
    
    ある `str` だけを持ちたい? あるいはある `dict` だけですか? それとも、データベースクラスのモデルインスタンスを直接持ちたいですか? すべて同じやり方で機能します。
    
    実際には、あなたのアプリケーションにはログインするようなユーザーはおらず、単にアクセストークンを持つロボットやボット、別のシステムがありますか?ここでも、全く同じようにすべて機能します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params.md

    ///
    
    #### Return *enumeration members* { #return-enumeration-members }
    
    You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`).
    
    They will be converted to their corresponding values (strings in this case) before returning them to the client:
    
    {* ../../docs_src/path_params/tutorial005.py hl[18,21,23] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/handling-errors.md

    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Consejo
    
    Cuando lanzas un `HTTPException`, puedes pasar cualquier valor que pueda convertirse a JSON como el parámetro `detail`, no solo `str`.
    
    Podrías pasar un `dict`, un `list`, etc.
    
    Son manejados automáticamente por **FastAPI** y convertidos a JSON.
    
    ///
    
    ## Agrega headers personalizados
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/path-params.md

    ///
    
    #### Devolver *miembros* de enumeración
    
    Puedes devolver *miembros de enum* desde tu *path operation*, incluso anidados en un cuerpo JSON (por ejemplo, un `dict`).
    
    Serán convertidos a sus valores correspondientes (cadenas en este caso) antes de devolverlos al cliente:
    
    {* ../../docs_src/path_params/tutorial005.py hl[18,21,23] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/handling-errors.md

      "detail": "Item not found"
    }
    ```
    
    /// tip | Dica
    
    Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    
    Você pode passar um `dict` ou um `list`, etc.
    Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    ///
    
    ## Adicione headers customizados
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/custom-response.md

    Sie können sie direkt zurückgeben.
    
    Sie akzeptiert die folgenden Parameter:
    
    * `content` – Ein `str` oder `bytes`.
    * `status_code` – Ein `int`-HTTP-Statuscode.
    * `headers` – Ein `dict` von Strings.
    * `media_type` – Ein `str`, der den Medientyp angibt. Z. B. `"text/html"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[75:80] hl[77] *}
    
    ### Atualizar um Hero com `HeroUpdate`
    
    Podemos **atualizar um hero**. Para isso, usamos uma operação HTTP `PATCH`.
    
    E no código, obtemos um `dict` com todos os dados enviados pelo cliente, **apenas os dados enviados pelo cliente**, excluindo quaisquer valores que estariam lá apenas por serem os valores padrão. Para fazer isso, usamos `exclude_unset=True`. Este é o truque principal. 🪄
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top