- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 559 for dice (0.02 seconds)
-
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) -
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) -
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) -
src/cmd/asm/internal/asm/endtoend_test.go
return true } for _, f := range strings.Split(s, " or ") { if f == "" || len(f)%2 != 0 || strings.TrimLeft(f, "0123456789abcdef") != "" { return false } } return true } // It would be nice if the error messages always began with // the standard file:line: prefix, // but that's not where we are today. // It might be at the beginning but it might be in the middle of the printed instruction.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 18:45:48 GMT 2025 - 12.5K bytes - Click Count (0) -
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) -
docs/en/docs/tutorial/sql-databases.md
### Update a Hero with `HeroUpdate` { #update-a-hero-with-heroupdate } We can **update a hero**. For this we use an HTTP `PATCH` operation. And in the code, we get a `dict` with all the data sent by the client, **only the data sent by the client**, excluding any values that would be there just for being the default values. To do it we use `exclude_unset=True`. This is the main trick. 🪄Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 05:06:56 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/pt/docs/help-fastapi.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 15.1K bytes - Click Count (0) -
docs/ru/docs/tutorial/first-steps.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/first-steps.md
/// note 如果你不知道两者的区别,请查阅 [并发: *赶时间吗?*](../async.md#_1){.internal-link target=_blank}。 /// ### 步骤 5:返回内容 {* ../../docs_src/first_steps/tutorial001.py hl[8] *} 你可以返回一个 `dict`、`list`,像 `str`、`int` 一样的单个值,等等。 你还可以返回 Pydantic 模型(稍后你将了解更多)。 还有许多其他将会自动转换为 JSON 的对象和模型(包括 ORM 对象等)。尝试下使用你最喜欢的一种,它很有可能已经被支持。 ## 总结 * 导入 `FastAPI`。 * 创建一个 `app` 实例。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 10.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/first-steps.md
/// note | 備考 違いが分からない場合は、[Async: *"急いでいますか?"*](../async.md#_1){.internal-link target=_blank}を確認してください。 /// ### Step 5: コンテンツの返信 {* ../../docs_src/first_steps/tutorial001.py hl[8] *} `dict`、`list`、`str`、`int`などを返すことができます。 Pydanticモデルを返すこともできます(後で詳しく説明します)。 JSONに自動的に変換されるオブジェクトやモデルは他にもたくさんあります(ORMなど)。 お気に入りのものを使ってみてください。すでにサポートされている可能性が高いです。 ## まとめ * `FastAPI`をインポート * `app`インスタンスを生成Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11K bytes - Click Count (0)