- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 919 for tip (0.01 seconds)
-
docs/en/docs/tutorial/security/first-steps.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
That's what we are going to see here. In this case, you would accept any `dict` as long as it has `int` keys with `float` values: {* ../../docs_src/body_nested_models/tutorial009_py310.py hl[7] *} /// tip Keep in mind that JSON only supports `str` as keys. But Pydantic has automatic data conversion.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/zh/docs/deployment/manually.md
例如,要安装 Uvicorn,可以运行以下命令: <div class="termy"> ```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> 类似的流程也适用于任何其他 ASGI 服务器程序。 /// tip | 提示 通过添加 `standard` 选项,Uvicorn 将安装并使用一些推荐的额外依赖项。 其中包括 `uvloop`,这是 `asyncio` 的高性能替代方案,能够显著提升并发性能。 当您使用 `pip install "fastapi[standard]"` 安装 FastAPI 时,实际上也会安装 `uvicorn[standard]`。 ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/body.md
上面的截图来自 [Visual Studio Code](https://code.visualstudio.com)。 但使用 [PyCharm](https://www.jetbrains.com/pycharm/) 和大多数其他 Python 编辑器,你也会获得相同的编辑器支持: <img src="/img/tutorial/body/image05.png"> /// tip | 提示 如果你使用 [PyCharm](https://www.jetbrains.com/pycharm/) 作为编辑器,可以使用 [Pydantic PyCharm 插件](https://github.com/koxudaxi/pydantic-pycharm-plugin/)。 它能改进对 Pydantic 模型的编辑器支持,包括: * 自动补全 * 类型检查 * 代码重构 * 查找
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.9K bytes - Click Count (0) -
src/main/webapp/js/bootstrap.min.js.map
}\n\n _isAnimated() {\n return this._config.animation || (this.tip && this.tip.classList.contains(CLASS_NAME_FADE))\n }\n\n _isShown() {\n return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW)\n }\n\n _createPopper(tip) {\n const placement = execute(this._config.placement, [this, tip, this._element])\n const attachment = AttachmentMap[placement.toUpperCase()]\n return Popper.createPopper(this._element, tip, this._getPopperConfig(attachment))\n }\n\n _getOffset() {\n ...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 211.9K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[31] *} Pydanticモデルの `User` として、 `current_user` の型を宣言することに注意してください。 その関数の中ですべての入力補完や型チェックを行う際に役に立ちます。 /// tip | 豆知識 リクエストボディはPydanticモデルでも宣言できることを覚えているかもしれません。 ここでは `Depends` を使っているおかげで、 **FastAPI** が混乱することはありません。 /// /// check | 確認 依存関係システムがこのように設計されているおかげで、 `User` モデルを返却する別の依存関係(別の「dependables」)を持つことができます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 15:24:30 GMT 2026 - 5.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-nested-models.md
這在你想接收尚未預知的鍵時很有用。 --- 另一個實用情境是當你希望鍵是其他型別(例如,`int`)時。 這正是我們在此要示範的。 在此情況下,只要是擁有 `int` 鍵且對應 `float` 值的 `dict` 都會被接受: {* ../../docs_src/body_nested_models/tutorial009_py310.py hl[7] *} /// tip 請記住,JSON 只支援 `str` 作為鍵。 但 Pydantic 具有自動資料轉換。 這表示即使你的 API 用戶端只能以字串作為鍵,只要這些字串是純整數,Pydantic 會自動轉換並驗證它們。 而你作為 `weights` 所接收的 `dict`,實際上會擁有 `int` 鍵與 `float` 值。 /// ## 總結 { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/en/docs/fastapi-people.md
These are the users that have been [helping others the most with questions in GitHub](help-fastapi.md#help-others-with-questions-in-github). 🙇 They have proven to be **FastAPI Experts** by helping many others. ✨ /// tip You could become an official FastAPI Expert too! Just [help others with questions in GitHub](help-fastapi.md#help-others-with-questions-in-github). 🤓 /// You can see the **FastAPI Experts** for:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
docs/ja/docs/deployment/manually.md
例として、Uvicorn をインストールするには: <div class="termy"> ```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> 他の ASGI サーバープログラムでも同様の手順です。 /// tip | 豆知識 `standard` を付けると、Uvicorn は推奨の追加依存関係もインストールして使用します。 その中には、`uvloop` も含まれます。これは `asyncio` の高性能なドロップイン代替で、大きな並行実行性能の向上をもたらします。 `pip install "fastapi[standard]"` のように FastAPI をインストールした場合は、すでに `uvicorn[standard]` も含まれます。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/zh/docs/advanced/stream-data.md
但在许多情况下,读取文件或类文件对象会发生阻塞。 /// 为避免阻塞事件循环,你可以简单地把*路径操作函数*声明为常规的 `def`(而不是 `async def`),这样 FastAPI 会在一个线程池工作线程上运行它,从而避免阻塞主事件循环。 {* ../../docs_src/stream_data/tutorial002_py310.py ln[30:34] hl[31] *} /// tip | 提示 如果你需要在异步函数里调用阻塞代码,或在阻塞函数里调用异步函数,可以使用 [Asyncer](https://asyncer.tiangolo.com),它是 FastAPI 的姐妹库。 /// ### `yield from` { #yield-from }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 5.2K bytes - Click Count (0)