- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for 512m (0.19 sec)
-
docs/en/docs/tutorial/security/get-current-user.md
The same way we use Pydantic to declare bodies, we can use it anywhere else: === "Python 3.10+" ```Python hl_lines="5 12-16" {!> ../../../docs_src/security/tutorial002_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="5 12-16" {!> ../../../docs_src/security/tutorial002_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="5 13-17"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/get-current-user.md
```Python hl_lines="10" {!../../../docs_src/security/tutorial001.py!} ``` 但这并不实用。 接下来,我们学习如何返回当前用户。 ## 创建用户模型 首先,创建 Pydantic 用户模型。 与使用 Pydantic 声明请求体相同,并且可在任何位置使用: ```Python hl_lines="5 12-16" {!../../../docs_src/security/tutorial002.py!} ``` ## 创建 `get_current_user` 依赖项 创建 `get_current_user` 依赖项。 还记得依赖项支持子依赖项吗? `get_current_user` 使用 `oauth2_scheme` 作为依赖项。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:46:46 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/em/docs/tutorial/security/get-current-user.md
``` ✋️ 👈 🚫 👈 ⚠. ➡️ ⚒ ⚫️ 🤝 👥 ⏮️ 👩💻. ## ✍ 👩💻 🏷 🥇, ➡️ ✍ Pydantic 👩💻 🏷. 🎏 🌌 👥 ⚙️ Pydantic 📣 💪, 👥 💪 ⚙️ ⚫️ 🙆 🙆: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="5 12-16" {!> ../../../docs_src/security/tutorial002.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="3 10-14" {!> ../../../docs_src/security/tutorial002_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
``` 그러나 아직도 유용하지 않습니다. 현재 사용자를 제공하도록 합시다. ## 유저 모델 생성하기 먼저 Pydantic 유저 모델을 만들어 보겠습니다. Pydantic을 사용하여 본문을 선언하는 것과 같은 방식으로 다른 곳에서 사용할 수 있습니다. === "파이썬 3.7 이상" ```Python hl_lines="5 12-16" {!> ../../../docs_src/security/tutorial002.py!} ``` === "파이썬 3.10 이상" ```Python hl_lines="3 10-14" {!> ../../../docs_src/security/tutorial002_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.6K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* ⬆ Bump actions/setup-python from 2 to 4. PR [#5129](https://github.com/tiangolo/fastapi/pull/5129) by [@dependabot[bot]](https://github.com/apps/dependabot). * 👷 Add Dependabot. PR [#5128](https://github.com/tiangolo/fastapi/pull/5128) by [@tiangolo](https://github.com/tiangolo). * ♻️ Move from `Optional[X]` to `Union[X, None]` for internal utils. PR [#5124](https://github.com/tiangolo/fastapi/pull/5124) by [@tiangolo](https://github.com/tiangolo).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs/en/layouts/custom.yml
line: amount: 3 height: 1.25 font: family: *font_family style: Bold # Page description - size: { width: 832, height: 64 } offset: { x: 64, y: 512 } typography: content: *page_description align: start color: *color line: amount: 2 height: 1.5 font: family: *font_family
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jun 26 14:05:43 GMT 2023 - 6.5K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
So wie wir Pydantic zum Deklarieren von Bodys verwenden, können wir es auch überall sonst verwenden: === "Python 3.10+" ```Python hl_lines="5 12-16" {!> ../../../docs_src/security/tutorial002_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="5 12-16" {!> ../../../docs_src/security/tutorial002_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="5 13-17"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:08:05 GMT 2024 - 8.5K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/get-current-user.md
``` しかし、それはまだそんなに有用ではありません。 現在のユーザーを取得するようにしてみましょう。 ## ユーザーモデルの作成 まずは、Pydanticのユーザーモデルを作成しましょう。 ボディを宣言するのにPydanticを使用するのと同じやり方で、Pydanticを別のどんなところでも使うことができます: ```Python hl_lines="5 12-16" {!../../../docs_src/security/tutorial002.py!} ``` ## 依存関係 `get_current_user` を作成 依存関係 `get_current_user` を作ってみましょう。 依存関係はサブ依存関係を持つことができるのを覚えていますか?
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 18:36:35 GMT 2024 - 5.6K bytes - Viewed (0)