- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 1,931 for Type (0.01 seconds)
-
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
**FastAPI** calls the `CommonQueryParams` class. This creates an "instance" of that class and the instance will be passed as the parameter `commons` to your function. ## Type annotation vs `Depends` { #type-annotation-vs-depends } Notice how we write `CommonQueryParams` twice in the above code: //// tab | Python 3.9+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py
mod = importlib.import_module(f"docs_src.custom_request_and_route.{request.param}") @mod.app.get("/check-class") async def check_gzip_request(request: Request): return {"request_class": type(request).__name__} client = TestClient(mod.app) return client @pytest.mark.parametrize("compress", [True, False]) def test_gzip_request(client: TestClient, compress): n = 1000 headers = {}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java
* <li>Access to the session context used during processing</li> * <li>Correlation of results with their initiating parameters</li> * </ul> * * @param <REQ> the type of Request that produced this result, ensuring type-safe * access to the original request parameters * * @see Request * @since 4.0.0 */ @Experimental @Immutable public interface Result<REQ extends Request<?>> {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 1.9K bytes - Click Count (0) -
cmd/format-meta.go
// Ideally we will never have a situation where we will have to change the // fields of this struct and deal with related migration. type formatMetaV1 struct { // Version of the format config. Version string `json:"version"` // Format indicates the backend format type, supports two values 'xl' and 'fs'. Format string `json:"format"` // ID is the identifier for the minio deployment ID string `json:"id"`Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.7K bytes - Click Count (0) -
cmd/storage-rest-common.go
storageRESTOrigVolume = "ovol" storageRESTInclFreeVersions = "incl-fv" storageRESTRange = "rng" ) type nsScannerOptions struct { DiskID string `msg:"id"` ScanMode int `msg:"m"` Cache *dataUsageCache `msg:"c"` } type nsScannerResp struct { Update *dataUsageEntry `msg:"u"` Final *dataUsageCache `msg:"f"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Aug 12 08:38:15 GMT 2024 - 2.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java
+ cause.getMessage(), cause); this.extension = extension; } /** * Constructor accepting the new API type for internal use. * * @param extension the new API extension * @param cause the cause */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 2.4K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java
import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Provides a unique identifier for dependencies when multiple implementations * of the same type are available. * <p> * This annotation can be used in conjunction with {@link Inject} to specify * which implementation should be injected when multiple candidates exist.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/ioutil/wait_pipe.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package ioutil import ( "io" "sync" ) // PipeWriter is similar to io.PipeWriter with wait group type PipeWriter struct { *io.PipeWriter once sync.Once done func() } // CloseWithError close with supplied error the writer end. func (w *PipeWriter) CloseWithError(err error) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 27 14:55:36 GMT 2023 - 1.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
docsTestProject: DocsTestProject, ) : OsAwareBaseGradleBuildType(os = docsTestProject.os, init = { id("${asDocsTestId(model, docsTestProject.os)}_Trigger") name = docsTestProject.name + " (Trigger)" type = Type.COMPOSITE applyDefaultSettings() dependencies { snapshotDependencies(docsTestProject.docsTests) } }) enum class DocsTestType( val ccEnabled: Boolean,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Nov 18 02:29:43 GMT 2025 - 3.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* @param classifier the artifact classifier, or {@code null} is unspecified * @param extension the artifact extension, or {@code null} is unspecified * @param type the artifact type, or {@code null} is unspecified * @return coordinates used to point to the artifact * * @see ArtifactCoordinatesFactory#create(Session, String, String, String, String, String, String) */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0)