- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 261 for models3 (0.11 sec)
-
docs_src/path_params/tutorial005.py
from enum import Enum from fastapi import FastAPI class ModelName(str, Enum): alexnet = "alexnet" resnet = "resnet" lenet = "lenet" app = FastAPI() @app.get("/models/{model_name}") async def get_model(model_name: ModelName): if model_name is ModelName.alexnet: return {"model_name": model_name, "message": "Deep Learning FTW!"} if model_name.value == "lenet":
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 26 13:26:03 UTC 2022 - 546 bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java
* @return the transformed model, or the input model if no transformation is needed * @throws ModelTransformerException */ @Nonnull default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException { return model; } /** * Apply a transformation on the raw models. * * This method will be called on each raw model being loaded,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
disabled = user_dict["disabled"], hashed_password = user_dict["hashed_password"], ) ``` /// info For a more complete explanation of `**user_dict` check back in [the documentation for **Extra Models**](../extra-models.md#about-user_indict){.internal-link target=_blank}. /// ## Return the token The response of the `token` endpoint must be a JSON object.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.3K bytes - Viewed (0) -
test-site/app/controllers/Suggest.java
package controllers; import models.*; import org.codelibs.fess.suggest.request.suggest.SuggestResponse; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.xcontent.json.JsonXContent; import play.Logger; import play.mvc.Controller; import play.mvc.Result; import java.util.Map; public class Suggest extends Controller { public static Result get() {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 2.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java
/** * Injects plugin executions induced by lifecycle bindings into the specified model. The model has already undergone * injection of plugin management so any plugins that are injected by lifecycle bindings and are not already present * in the model's plugin section need to be subjected to the model's plugin management. * * @param model The model into which to inject the default plugin executions for its packaging, must not be
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
test-site/app/models/SuggestIndex.java
package models; import components.*; import org.codelibs.fess.suggest.Suggester; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.index.contents.document.DocumentReader; import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; import org.codelibs.fess.suggest.request.suggest.SuggestResponse; public class SuggestIndex { public SuggestResponse suggest(String query) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 964 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SuperPomProvider.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.Model; /** * Provides the super POM that all models implicitly inherit from. * * @since 4.0.0 */ @Experimental public interface SuperPomProvider extends Service { /** * Gets the super POM for the specified model version. * * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java
*/ package org.apache.maven.model.superpom; import org.apache.maven.model.Model; /** * Provides the super POM that all models implicitly inherit from. * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface SuperPomProvider { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java
DefaultModelProblem pb2 = new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null); String msg = ModelBuildingException.toMessage("modelId", Arrays.asList(pb1, pb2)); assertEquals( "2 problems were encountered while building the effective model for modelId" + System.lineSeparator()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java
* under the License. */ package org.apache.maven.model.building; import java.util.function.Supplier; import org.apache.maven.building.Source; /** * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0)