Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 374 for Dict (0.01 seconds)

  1. 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 { #add-custom-headers }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/path-params.md

    ///
    
    #### Devolver *miembros* de enumeración { #return-enumeration-members }
    
    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_py39.py hl[18,21,23] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/first-steps.md

    ///
    
    ### Крок 5: поверніть результат
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    Ви можете повернути `dict`, `list`, а також окремі значення `str`, `int`, ітд.
    
    Також можна повернути моделі Pydantic (про це ви дізнаєтесь пізніше).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/path-params.md

    ///
    
    #### *Enumeration-Member* zurückgeben { #return-enumeration-members }
    
    Sie können *Enum-Member* in ihrer *Pfadoperation* zurückgeben, sogar verschachtelt in einem JSON-Body (z. B. als `dict`).
    
    Diese werden zu ihren entsprechenden Werten konvertiert (in diesem Fall Strings), bevor sie zum Client übertragen werden:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[18,21,23] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/custom-response.md

    You can return it directly.
    
    It accepts the following parameters:
    
    * `content` - A `str` or `bytes`.
    * `status_code` - An `int` HTTP status code.
    * `headers` - A `dict` of strings.
    * `media_type` - A `str` giving the media type. E.g. `"text/html"`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  6. 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"`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/dependencies/index.md

    因此,可以把依赖项当作没有「装饰器」(即,没有 `@app.get("/some-path")` )的路径操作函数。
    
    依赖项可以返回各种内容。
    
    本例中的依赖项预期接收如下参数:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值是 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值是 `100`
    
    然后,依赖项函数返回包含这些值的 `dict`。
    
    ### 导入 `Depends`
    
    {* ../../docs_src/dependencies/tutorial001.py hl[3] *}
    
    ### 声明依赖项
    
    与在*路径操作函数*参数中使用 `Body`、`Query` 的方式相同,声明依赖项需要使用 `Depends` 和一个新的参数:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7K bytes
    - Click Count (0)
  8. docs/ru/docs/_llm-test.md

    * система аутентифицирует пользователя
    
    * CLI
    * интерфейс командной строки
    
    * сервер
    * клиент
    
    * облачный провайдер
    * облачный сервис
    
    * разработка
    * этапы разработки
    
    * dict
    * словарь
    * перечисление
    * enum
    * член перечисления
    
    * кодировщик
    * декодировщик
    * кодировать
    * декодировать
    
    * исключение
    * вызвать
    
    * выражение
    * оператор
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. docs/en/docs/_llm-test.md

    * the CLI
    * the command line interface
    
    * the server
    * the client
    
    * the cloud provider
    * the cloud service
    
    * the development
    * the development stages
    
    * the dict
    * the dictionary
    * the enumeration
    * the enum
    * the enum member
    
    * the encoder
    * the decoder
    * to encode
    * to decode
    
    * the exception
    * to raise
    
    * the expression
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 14:48:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. docs/de/docs/_llm-test.md

    * Das CLI
    * Das Kommandozeileninterface
    
    * der Server
    * der Client
    
    * der Cloudanbieter
    * der Clouddienst
    
    * die Entwicklung
    * die Entwicklungsphasen
    
    * das Dict
    * das Dictionary
    * die Enumeration
    * das Enum
    * das Enum-Member
    
    * der Encoder
    * der Decoder
    * kodieren
    * dekodieren
    
    * die Exception
    * werfen
    
    * der Ausdruck
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 07:17:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top