- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 9,922 for width (0.91 sec)
-
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
### 什么是"上下文管理器" "上下文管理器"是你可以在 `with` 语句中使用的任何Python对象。 例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">你可以使用`with`读取文件</a>: ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底层,`open("./somefile.txt")`创建了一个被称为"上下文管理器"的对象。 当 `with` 代码块结束时,它会确保关闭文件,即使发生了异常也是如此。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
/// tip You can use `async` or regular functions. **FastAPI** will do the right thing with each, the same as with normal dependencies. /// ## A dependency with `yield` and `try` { #a-dependency-with-yield-and-try } If you use a `try` block in a dependency with `yield`, you'll receive any exception that was thrown when using the dependency.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` Por baixo dos panos, o código `open("./somefile.txt")` cria um objeto que é chamado de "Gerenciador de Contexto". Quando o bloco `with` finaliza, ele se certifica de fechar o arquivo, mesmo que tenha ocorrido alguma exceção.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md
## 컨텍스트 관리자 ### "컨텍스트 관리자"란? "컨텍스트 관리자"는 Python에서 `with` 문에서 사용할 수 있는 모든 객체를 의미합니다. 예를 들어, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank"> `with`를 사용하여 파일을 읽을 수 있습니다</a>: ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Feb 09 14:54:09 UTC 2025 - 14.2K bytes - Viewed (0) -
impl/maven-core/src/test/resources-project-builder/basedir-interpolation/pom-with-unusual-name.xml
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/webapp/js/admin/moment-with-locales.min.js
//# sourceMappingURL=moment-with-locales.min.js.map...
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 360.5K bytes - Viewed (2) -
docs/distributed/iam-import-with-missing-entities.sh
if [ "${SVCACCT_COUNT_2}" -ne 2 ]; then echo "BUG: Expected svcacct count for 'uid=dillon,ou=people,ou=swengg,dc=min,dc=io': 2. Found: ${SVCACCT_COUNT_2}" exit 1 fi # Kill MinIO and LDAP to start afresh with missing groups/DN pkill minio docker rm -f $(docker ps -aq) rm -rf /tmp/ldap{1..4} # Deploy the LDAP config witg missing groups/DNRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 11 15:01:29 UTC 2024 - 4.5K bytes - Viewed (1) -
docs/site-replication/run-replication-with-checksum-header.sh
# sleep for replication to complete sleep 30 # Create bucket in source cluster echo "Create bucket in source MinIO instance" ./mc mb minio1/test-bucket --insecure # Load objects to source site with checksum header echo "Loading objects to source MinIO instance" OBJ_CHKSUM=$(openssl dgst -sha256 -binary </tmp/data/obj | base64)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 11.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.16.md
* At Metadata audit level or higher, an annotation with key "mutation.webhook.admission.k8s.io/round_{round idx}_index_{order idx}" gets logged with JSON payload indicating a webhook gets invoked for given request and whether it mutated the object or not.
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Oct 23 20:13:20 UTC 2024 - 345.2K bytes - Viewed (0) -
buildscripts/verify-healing-with-root-disks.sh
for i in $(seq 1 4); do while [ "$(curl -m 1 -s -o /dev/null -w "%{http_code}" http://localhost:$((start_port + i)))" -ne "403" ]; do echo -n "." sleep 1 done done } # Prepare fake disks with losetup function prepare_block_devices() { set -e mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/ sudo modprobe loop for i in 1 2 3 4; do dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 26 05:07:25 UTC 2023 - 2.2K bytes - Viewed (0)