- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 222 for dependsOn (0.05 sec)
-
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) -
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/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
In diesen Fällen können Sie, anstatt einen Parameter der *Pfadoperation-Funktion* mit `Depends` zu deklarieren, eine `list`e von `dependencies` zum *Pfadoperation-Dekorator* hinzufügen. ## `dependencies` zum *Pfadoperation-Dekorator* hinzufügen Der *Pfadoperation-Dekorator* erhält ein optionales Argument `dependencies`. Es sollte eine `list`e von `Depends()` sein: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[19] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/zh/docs/advanced/advanced-dependencies.md
## 创建实例 使用以下代码创建类实例: {* ../../docs_src/dependencies/tutorial011.py hl[16] *} 这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。 ## 把实例作为依赖项 然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。 处理依赖项时,**FastAPI** 以如下方式调用 `checker`: ```Python checker(q="somequery") ``` ……并用*路径操作函数*的参数 `fixed_content_included` 返回依赖项的值:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.9K bytes - Viewed (0) -
.github/workflows/mint/minio-erasure.yaml
nginx: image: nginx:1.19.2-alpine hostname: nginx volumes: - ./nginx-1-node.conf:/etc/nginx/nginx.conf:ro ports: - "9000:9000" - "9001:9001" depends_on: - minio1 ## By default this config uses default local driver, ## For custom volumes replace with volume driver configuration. volumes: edata1-1: edata1-2: edata1-3:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Nov 03 21:18:18 UTC 2023 - 1.2K bytes - Viewed (0) -
buildscripts/upgrade-tests/compose.yml
- data4-2:/data2 - data4-3:/data3 nginx: image: nginx:1.19.2-alpine volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro ports: - "9000:9000" - "9001:9001" depends_on: - minio1 - minio2 - minio3 - minio4 ## By default this config uses default local driver, ## For custom volumes replace with volume driver configuration. volumes: data1-1:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/orchestration/docker-compose/docker-compose.yaml
- data4-2:/data2 nginx: image: nginx:1.19.2-alpine hostname: nginx volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro ports: - "9000:9000" - "9001:9001" depends_on: - minio1 - minio2 - minio3 - minio4 ## By default this config uses default local driver, ## For custom volumes replace with volume driver configuration. volumes: data1-1:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 05:14:10 UTC 2025 - 1.5K bytes - Viewed (0) -
.github/workflows/multipart/docker-compose-site2.yaml
- site2-data4-2:/data2 site2-nginx: image: nginx:1.19.2-alpine hostname: site2-nginx volumes: - ./nginx-site2.conf:/etc/nginx/nginx.conf:ro ports: - "9002:9002" depends_on: - site2-minio1 - site2-minio2 - site2-minio3 - site2-minio4 ## By default this config uses default local driver, ## For custom volumes replace with volume driver configuration. volumes:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Sep 30 10:13:56 UTC 2023 - 1.5K 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">{@code
Registered: 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)