- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 359 for Depends (0.06 sec)
-
docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Для таких ситуаций, вместо объявления *функции операции пути* с параметром `Depends`, вы можете добавить список зависимостей `dependencies` в *декоратор операции пути*. ## Добавление `dependencies` в *декоратор операции пути* *Декоратор операции пути* получает необязательный аргумент `dependencies`. Это должен быть `list` состоящий из `Depends()`: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Jan 24 19:44:31 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/ja/docs/tutorial/dependencies/index.md
そして、これらの値を含む`dict`を返します。 ### `Depends`のインポート {* ../../docs_src/dependencies/tutorial001.py hl[3] *} ### "dependant"での依存関係の宣言 *path operation関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます: {* ../../docs_src/dependencies/tutorial001.py hl[13,18] *} 関数のパラメータに`Depends`を使用するのは`Body`や`Query`などと同じですが、`Depends`の動作は少し異なります。 `Depends`は1つのパラメータしか与えられません。 このパラメータは関数のようなものである必要があります。Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/en/docs/advanced/advanced-dependencies.md
## Use the instance as a dependency { #use-the-instance-as-a-dependency } Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself. And when solving the dependency, **FastAPI** will call this `checker` like: ```PythonRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
## 현재 유저 주입하기 이제 *경로 작동*에서 `get_current_user`와 동일한 `Depends`를 사용할 수 있습니다. {* ../../docs_src/security/tutorial002.py hl[31] *} Pydantic 모델인 `User`로 `current_user`의 타입을 선언하는 것을 알아야 합니다. 이것은 모든 완료 및 타입 검사를 통해 함수 내부에서 우리를 도울 것입니다. /// tip | 팁 요청 본문도 Pydantic 모델로 선언된다는 것을 기억할 것입니다. 여기서 **FastAPI**는 `Depends`를 사용하고 있기 때문에 혼동되지 않습니다. /// /// check | 확인Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/de/docs/advanced/advanced-dependencies.md
## Die Instanz als Abhängigkeit verwenden Dann könnten wir diesen `checker` in einem `Depends(checker)` anstelle von `Depends(FixedContentQueryChecker)` verwenden, da die Abhängigkeit die Instanz `checker` und nicht die Klasse selbst ist. Und beim Auflösen der Abhängigkeit ruft **FastAPI** diesen `checker` wie folgt auf: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/sub-dependencies.md
🏧 😐 🌐❔ 👆 💭 👆 💪 🔗 🤙 🔠 🔁 (🎲 💗 🕰) 🎏 📨 ↩️ ⚙️ "💾" 💲, 👆 💪 ⚒ 🔢 `use_cache=False` 🕐❔ ⚙️ `Depends`: ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value} ``` ## 🌃 ↖️ ⚪️➡️ 🌐 🎀 🔤 ⚙️ 📥, **🔗 💉** ⚙️ 🙅. 🔢 👈 👀 🎏 *➡ 🛠️ 🔢*.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*. ## Add `dependencies` to the *path operation decorator* { #add-dependencies-to-the-path-operation-decorator } The *path operation decorator* receives an optional argument `dependencies`. It should be a `list` of `Depends()`: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> And all of them will use the same WebSocket connection. ## Using `Depends` and others { #using-depends-and-others } In WebSocket endpoints you can import from `fastapi` and use: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` They work the same way as for other FastAPI endpoints/*path operations*:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
} /** * Returns the minimum of the two values. If the values compare as 0, the first is returned. * * <p>The recommended solution for finding the {@code minimum} of some values depends on the type * of your data and the number of elements you have. Read more in the Guava User Guide article on * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Para esos casos, en lugar de declarar un parámetro de *path operation function* con `Depends`, puedes añadir una `list` de `dependencies` al decorador de *path operation*. ## Agregar `dependencies` al decorador de *path operation* El decorador de *path operation* recibe un argumento opcional `dependencies`. Debe ser una `list` de `Depends()`: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 2.9K bytes - Viewed (0)