- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 547 for Dict (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/es/docs/advanced/events.md
{* ../../docs_src/events/tutorial001_py310.py hl[8] *} En este caso, la función manejadora del evento `startup` inicializará los ítems de la "base de datos" (solo un `dict`) con algunos valores. Puedes añadir más de un manejador de eventos. Y tu aplicación no comenzará a recibir requests hasta que todos los manejadores de eventos `startup` hayan completado.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 8.4K bytes - Click Count (0) -
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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/events.md
### `startup` 事件 { #startup-event } 要加入一個在應用啟動前執行的函式,使用事件 `"startup"` 來宣告: {* ../../docs_src/events/tutorial001_py310.py hl[8] *} 在這個例子中,`startup` 事件處理器函式會用一些值來初始化 items 的「資料庫」(其實就是個 `dict`)。 你可以註冊多個事件處理函式。 而且在所有 `startup` 事件處理器都完成之前,你的應用不會開始接收請求。 ### `shutdown` 事件 { #shutdown-event } 要加入一個在應用關閉時執行的函式,使用事件 `"shutdown"` 來宣告: {* ../../docs_src/events/tutorial002_py310.py hl[6] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/handling-errors.md
```JSON { "detail": "Item not found" } ``` /// tip | 提示 触发 `HTTPException` 时,可以用参数 `detail` 传递任何能转换为 JSON 的值,不仅限于 `str`。 还支持传递 `dict`、`list` 等数据结构。 **FastAPI** 能自动处理这些数据,并将之转换为 JSON。 /// ## 添加自定义响应头 { #add-custom-headers } 有些场景下要为 HTTP 错误添加自定义响应头。例如,出于某些类型的安全需要。 一般情况下你可能不会在代码中直接使用它。 但在某些高级场景中需要时,你可以添加自定义响应头:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/uk/docs/tutorial/handling-errors.md
} ``` /// tip | Порада Під час генерації `HTTPException` ви можете передати будь-яке значення, яке може бути перетворене в JSON, як параметр `detail`, а не лише `str`. Ви можете передати `dict`, `list` тощо. Вони обробляються автоматично за допомогою **FastAPI** та перетворюються в JSON. /// ## Додавання власних заголовків { #add-custom-headers }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 13.9K bytes - Click Count (0) -
docs/tr/docs/tutorial/handling-errors.md
```JSON { "detail": "Item not found" } ``` /// tip | İpucu Bir `HTTPException` raise ederken, `detail` parametresine sadece `str` değil, JSON’a dönüştürülebilen herhangi bir değer geçebilirsiniz. Örneğin `dict`, `list` vb. geçebilirsiniz. Bunlar **FastAPI** tarafından otomatik olarak işlenir ve JSON’a dönüştürülür. /// ## Özel Header’lar Eklemek { #add-custom-headers }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 9.7K bytes - Click Count (0) -
docs/tr/docs/tutorial/path-params.md
/// #### *Enumeration Member*'ları Döndürelim { #return-enumeration-members } *Path operation*'ınızdan, bir JSON body'nin içine gömülü olsalar bile (ör. bir `dict`) *enum member*'ları döndürebilirsiniz. İstemciye dönmeden önce, karşılık gelen değerlerine (bu durumda string) dönüştürülürler: {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 9.7K bytes - Click Count (0) -
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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.5K bytes - Click Count (0) -
docs/zh/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 Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/path-params.md
/// #### Поверніть *елементи перелічування* { #return-enumeration-members } Ви можете повертати *елементи enum* з вашої *операції шляху*, навіть вкладені у JSON-тіло (наприклад, `dict`). Вони будуть перетворені на відповідні значення (у цьому випадку рядки) перед поверненням клієнту: {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 14K bytes - Click Count (0)