- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,125 for 10 (0.1 seconds)
-
compat/maven-compat/src/main/mdo/paramdoc.mdo
<?xml version="1.0"?> <!-- 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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.4K bytes - Click Count (0) -
tests/main.py
def get_query_type_optional(query: Optional[int] = None): if query is None: return "foo bar" return f"foo bar {query}" @app.get("/query/int/default") def get_query_type_int_default(query: int = 10): return f"foo bar {query}" @app.get("/query/param") def get_query_param(query=Query(default=None)): if query is None: return "foo bar" return f"foo bar {query}"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.5K bytes - Click Count (0) -
cmd/prepare-storage.go
} tries++ // tried already once // Wait on each try for an update. ticker := time.NewTicker(1 * time.Second) defer ticker.Stop() for { // Only log once every 10 iterations, then reset the tries count. verbose = tries >= 10 if verbose { tries = 1 } format, err = connectLoadInitFormats(verbose, firstDisk, storageDisks, endpoints, poolCount, setCount, setDriveCount, deploymentID)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 11.1K bytes - Click Count (1) -
docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md
所以,我们可以将上面的依赖项 "可依赖对象" `common_parameters` 更改为类 `CommonQueryParams`: {* ../../docs_src/dependencies/tutorial002_py310.py hl[9:13] *} 注意用于创建类实例的 `__init__` 方法: {* ../../docs_src/dependencies/tutorial002_py310.py hl[10] *} ...它与我们以前的 `common_parameters` 具有相同的参数: {* ../../docs_src/dependencies/tutorial001_py310.py hl[6] *} 这些参数就是 **FastAPI** 用来 "处理" 依赖项的。 在两个例子下,都有: * 一个可选的 `q` 查询参数,是 `str` 类型。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.3K bytes - Click Count (0) -
cmd/batch-rotate.go
// notify: // endpoint: "https://notify.endpoint" # notification endpoint to receive job status events // token: "Bearer xxxxx" # optional authentication token for the notification endpoint // retry: // attempts: 10 # number of retries for the job before giving up // delay: "500ms" # least amount of delay between each retry //go:generate msgp -file $GOFILE -unexported // BatchKeyRotationType defines key rotation type
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.7K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
## Add more validations { #add-more-validations } You can also add a parameter `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Add regular expressions { #add-regular-expressions }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
if (metadataFile.length() == 0) { if (!metadataFile.delete()) { // sleep for 10ms just in case this is windows holding a file lock try { Thread.sleep(10); } catch (InterruptedException e) { // ignore } metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no needCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
tests/test_query.py
} ] } def test_query_int_default(): response = client.get("/query/int/default") assert response.status_code == 200 assert response.json() == "foo bar 10" def test_query_int_default_query_50(): response = client.get("/query/int/default?query=50") assert response.status_code == 200 assert response.json() == "foo bar 50"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.4K bytes - Click Count (0) -
cmd/metacache_test.go
bucket: "bucket", root: "folder/prefix", recursive: true, status: scanStateSuccess, fileNotFound: false, error: "", started: metaCacheTestsetTimestamp.Add(-10 * time.Minute), ended: metaCacheTestsetTimestamp.Add(-8 * time.Minute), lastUpdate: metaCacheTestsetTimestamp.Add(-8 * time.Minute), lastHandout: metaCacheTestsetTimestamp,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 08 18:06:45 GMT 2021 - 6.8K bytes - Click Count (0) -
compat/maven-embedder/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- 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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 6.9K bytes - Click Count (0)