Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 512m (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
Back to top