- Sort Score
- Num 10 results
- Language All
Results 1241 - 1250 of 2,890 for gone (0.14 seconds)
-
tests/test_regex_deprecated_body.py
def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.post("/items/") async def read_items( q: Annotated[str | None, Form(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}" else: return "Hello World" client = TestClient(app) return client @needs_py310
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
/** * A {@link FutureTask} that also implements the {@link ListenableFuture} interface. Unlike {@code * FutureTask}, {@code ListenableFutureTask} does not provide an overrideable {@link * FutureTask#done() done()} method. For similar functionality, call {@link #addListener}. * * <p>Few users should use this class. It is intended primarily for those who are implementing anCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 4.2K bytes - Click Count (0) -
buildscripts/disable-root.sh
nr_servers=4 addr="localhost" args="" for ((i = 0; i < $((nr_servers)); i++)); do args="$args $scheme://$addr:$((9100 + i))/${HOME}/tmp/dist/path1/$i" done echo $args for ((i = 0; i < $((nr_servers)); i++)); do (minio server --address ":$((9100 + i))" $args 2>&1 >/tmp/log$i.txt) & done sleep 10s if [ ! -f ./mc ]; then wget --quiet -O ./mc https://dl.minio.io/client/mc/release/linux-amd64/./mc && chmod +x mc fi
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 22 23:07:14 GMT 2024 - 3.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java
params.getIgnoreClasses().set(ignoreClasses); params.getMarkerFile().set(markerFile); }); } private Map<File, String> getProjectBuildDirs() { // while this is done in every project, it should be cheap to calculate Map<File, String> buildDirs = new HashMap<>(); for (Project project : getProject().getRootProject().getAllprojects()) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 22:04:23 GMT 2021 - 14.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
在这种情况下,你可以通过设置 `response_model=None` 来禁用响应模型生成: {* ../../docs_src/response_model/tutorial003_05_py310.py hl[7] *} 这会让 FastAPI 跳过响应模型的生成,这样你就可以按需使用任意返回类型注解,而不会影响你的 FastAPI 应用。🤓 ## 响应模型的编码参数 { #response-model-encoding-parameters } 你的响应模型可以具有默认值,例如: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None`(或在 Python 3.10 中的 `str | None = None`)默认值为 `None`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 14.5K bytes - Click Count (0) -
tests/test_additional_properties_bool.py
class FooBaseModel(BaseModel): model_config = ConfigDict(extra="forbid") class Foo(FooBaseModel): pass app = FastAPI() @app.post("/") async def post( foo: Foo | None = None, ): return foo client = TestClient(app) def test_call_invalid(): response = client.post("/", json={"foo": {"bar": "baz"}}) assert response.status_code == 422
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/resiliency/resiliency-initial-script.sh
echo retry: timeout while running: mc alias set exit 1 fi eval ./mc alias set "${ALIAS_NAME}" "${MINIO_SERVER_URL}" minioadmin minioadmin && break TIMEOUT=$((TIMEOUT - 1)) sleep 1 done ./mc ready "${ALIAS_NAME}" ./mc mb "${ALIAS_NAME}"/"${BUCKET}" rm -rf "${SRC_DIR}" "${INLINED_DIR}" "${DEST_DIR}" && mkdir -p "${SRC_DIR}" "${INLINED_DIR}" "${DEST_DIR}" for idx in {1..10}; do
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CombinedFuture.java
super.releaseResources(reason); /* * If the output future is done, then it won't need to interrupt the task later, so it can clear * its reference to it. * * If the output future is *not* done, then the task field will be cleared after the task runs * or after the output future is done, whichever comes first. */ if (reason == OUTPUT_FUTURE_DONE) { this.task = null; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.8K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
<version>4.0.0+</version> <required>false</required> <description>Default dependency information for projects that inherit from this one. The dependencies in this section are not immediately resolved. Instead, when a POM derived from this one declares a dependency described by a matching groupId and artifactId, the
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 17 09:48:21 GMT 2026 - 133.5K bytes - Click Count (0) -
docs/site-replication/run-ssec-object-replication-with-compression.sh
echo "done" if [ ! -f ./mc ]; then echo -n "Downloading MinIO client ..." wget -O mc https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x mc echo "done" fi export MC_HOST_minio1=https://minio:minio123@localhost:9001 export MC_HOST_minio2=https://minio:minio123@localhost:9002
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 8.3K bytes - Click Count (0)