- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for dependable (0.17 sec)
-
docs/de/docs/tutorial/security/get-current-user.md
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. Wir sind nicht darauf beschränkt, nur eine Abhängigkeit zu haben, die diesen Typ von Daten zurückgeben kann. ## Andere Modelle
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
!!! tip "豆知識" リクエストボディはPydanticモデルでも宣言できることを覚えているかもしれません。 ここでは `Depends` を使っているおかげで、 **FastAPI** が混乱することはありません。 !!! check "確認" 依存関係システムがこのように設計されているおかげで、 `User` モデルを返却する別の依存関係(別の"dependables")を持つことができます。 同じデータ型を返却する依存関係は一つだけしか持てない、という制約が入ることはないのです。 ## 別のモデル これで、*path operation関数* の中で現在のユーザーを直接取得し、`Depends` を使って、 **依存性注入** レベルでセキュリティメカニズムを処理できるようになりました。
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) -
docs/en/docs/tutorial/security/get-current-user.md
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. We are not restricted to having only one dependency that can return that type of data. ## Other models
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)