- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 596 for depends (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/uk/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> І всі вони використовуватимуть те саме з'єднання WebSocket. ## Використання `Depends` та іншого { #using-depends-and-others } У кінцевих точках WebSocket ви можете імпортувати з `fastapi` і використовувати: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Вони працюють так само, як для інших ендпойнтів FastAPI/*операцій шляху*:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
在高级使用场景中,如果不想使用「缓存」值,而是为需要在同一请求的每一步操作(多次)中都实际调用依赖项,可以把 `Depends` 的参数 `use_cache` 的值设置为 `False`: //// tab | Python 3.10+ ```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value} ``` //// //// tab | Python 3.10+ 非 Annotated /// tip | 提示
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 3.8K bytes - Click Count (0) -
docs/ru/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> И все они будут использовать одно и то же веб-сокет соединение. ## Использование `Depends` и не только { #using-depends-and-others } Вы можете импортировать из `fastapi` и использовать в эндпоинте вебсокета: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Они работают так же, как и в других FastAPI эндпоинтах/*операциях пути*:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/es/docs/advanced/websockets.md
Puedes enviar (y recibir) muchos mensajes: <img src="/img/tutorial/websockets/image04.png"> Y todos usarán la misma conexión WebSocket. ## Usando `Depends` y otros { #using-depends-and-others } En endpoints de WebSocket puedes importar desde `fastapi` y usar: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Funcionan de la misma manera que para otros endpoints de FastAPI/*path operations*:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/tr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Bu gibi durumlarda, `Depends` ile bir *path operation function* parametresi tanımlamak yerine, *path operation decorator*'üne `dependencies` adında bir `list` ekleyebilirsiniz. ## *Path Operation Decorator*'üne `dependencies` Ekleyin { #add-dependencies-to-the-path-operation-decorator } *Path operation decorator*, opsiyonel bir `dependencies` argümanı alır. Bu, `Depends()` öğelerinden oluşan bir `list` olmalıdır:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/fr/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> Et tous utiliseront la même connexion WebSocket. ## Utiliser `Depends` et autres { #using-depends-and-others } Dans les endpoints WebSocket, vous pouvez importer depuis `fastapi` et utiliser : * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 5.9K bytes - Click Count (0) -
docs/es/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *} ## Inyectar al usuario actual { #inject-the-current-user } Entonces ahora podemos usar el mismo `Depends` con nuestro `get_current_user` en la *path operation*: {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *} Ten en cuenta que declaramos el tipo de `current_user` como el modelo de Pydantic `User`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:41:41 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/de/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> Und alle verwenden dieselbe WebSocket-Verbindung. ## Verwendung von `Depends` und anderen { #using-depends-and-others } In WebSocket-Endpunkten können Sie Folgendes aus `fastapi` importieren und verwenden: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
## Добавление `dependencies` (зависимостей) в *декоратор операции пути* { #add-dependencies-to-the-path-operation-decorator } *Декоратор операции пути* получает необязательный аргумент `dependencies`. Это должен быть `list` состоящий из `Depends()`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 5K bytes - Click Count (0) -
docs/fr/docs/advanced/advanced-dependencies.md
Dans la version 0.121.0, **FastAPI** a ajouté la prise en charge de `Depends(scope="function")` pour les dépendances avec `yield`. Avec `Depends(scope="function")`, le code d’arrêt après `yield` s’exécute immédiatement après la fin de la *fonction de chemin d'accès*, avant que la réponse ne soit renvoyée au client.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 10.6K bytes - Click Count (0)