Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Schick (0.17 sec)

  1. docs/ja/docs/tutorial/security/get-current-user.md

    その関数の中ですべての入力補完や型チェックを行う際に役に立ちます。
    
    !!! tip "豆知識"
        リクエストボディはPydanticモデルでも宣言できることを覚えているかもしれません。
    
        ここでは `Depends` を使っているおかげで、 **FastAPI** が混乱することはありません。
    
    
    !!! check "確認"
        依存関係システムがこのように設計されているおかげで、 `User` モデルを返却する別の依存関係(別の"dependables")を持つことができます。
    
        同じデータ型を返却する依存関係は一つだけしか持てない、という制約が入ることはないのです。
    
    
    ## 別のモデル
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 28 18:36:35 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/get-current-user.md

    !!! tip "Tipp"
        Sie erinnern sich vielleicht, dass Requestbodys ebenfalls mit Pydantic-Modellen deklariert werden.
    
        Weil Sie `Depends` verwenden, wird **FastAPI** hier aber nicht verwirrt.
    
    !!! check
        Die Art und Weise, wie dieses System von Abhängigkeiten konzipiert ist, ermöglicht es uns, verschiedene Abhängigkeiten (verschiedene „Dependables“) zu haben, die alle ein `User`-Modell zurückgeben.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:08:05 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/security/get-current-user.md

    Pydantic 모델인 `User`로 `current_user`의 타입을 선언하는 것을 알아야 합니다.
    
    이것은 모든 완료 및 타입 검사를 통해 함수 내부에서 우리를 도울 것입니다.
    
    !!! tip "팁"
        요청 본문도 Pydantic 모델로 선언된다는 것을 기억할 것입니다.
    
        여기서 **FastAPI**는 `Depends`를 사용하고 있기 때문에 혼동되지 않습니다.
    
    !!! check "확인"
        이 의존성 시스템이 설계된 방식은 모두 `User` 모델을 반환하는 다양한 의존성(다른 "의존적인")을 가질 수 있도록 합니다.
    
        해당 타입의 데이터를 반환할 수 있는 의존성이 하나만 있는 것으로 제한되지 않습니다.
    
    ## 다른 모델
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/security/get-current-user.md

    ```
    
    注意,此处把 `current_user` 的类型声明为 Pydantic 的 `User` 模型。
    
    这有助于在函数内部使用代码补全和类型检查。
    
    !!! tip "提示"
    
        还记得请求体也是使用 Pydantic 模型声明的吧。
    
        放心,因为使用了 `Depends`,**FastAPI** 不会搞混。
    
    !!! check "检查"
    
        依赖系统的这种设计方式可以支持不同的依赖项返回同一个 `User` 模型。
    
        而不是局限于只能有一个返回该类型数据的依赖项。
    
    
    ## 其它模型
    
    接下来,直接在*路径操作函数*中获取当前用户,并用 `Depends` 在**依赖注入**系统中处理安全机制。
    
    开发者可以使用任何模型或数据满足安全需求(本例中是 Pydantic 的 `User` 模型)。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 22:46:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/security/get-current-user.md

    👀 👈 👥 📣 🆎 `current_user` Pydantic 🏷 `User`.
    
    👉 🔜 ℹ 🇺🇲 🔘 🔢 ⏮️ 🌐 🛠️ & 🆎 ✅.
    
    !!! tip
        👆 5️⃣📆 💭 👈 📨 💪 📣 ⏮️ Pydantic 🏷.
    
        📥 **FastAPI** 🏆 🚫 🤚 😨 ↩️ 👆 ⚙️ `Depends`.
    
    !!! check
        🌌 👉 🔗 ⚙️ 🏗 ✔ 👥 ✔️ 🎏 🔗 (🎏 "☑") 👈 🌐 📨 `User` 🏷.
    
        👥 🚫 🚫 ✔️ 🕴 1️⃣ 🔗 👈 💪 📨 👈 🆎 💽.
    
    ## 🎏 🏷
    
    👆 💪 🔜 🤚 ⏮️ 👩‍💻 🔗 *➡ 🛠️ 🔢* & 🙅 ⏮️ 💂‍♂ 🛠️ **🔗 💉** 🎚, ⚙️ `Depends`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/get-current-user.md

    !!! tip
        You might remember that request bodies are also declared with Pydantic models.
    
        Here **FastAPI** won't get confused because you are using `Depends`.
    
    !!! check
        The way this dependency system is designed allows us to have different dependencies (different "dependables") that all return a `User` model.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top