Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 442 for models (0.04 seconds)

  1. 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}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  2. scripts/playwright/cookie_param_models/image01.py

        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("link", name="/items/").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/cookie-param-models/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"]
    )
    try:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  3. 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 {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface SuperPomProvider {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

        }
    
        /**
         * Gets the model name.
         *
         * @return the model name
         */
        public String getModel() {
            return model;
        }
    
        /**
         * Sets the model name.
         *
         * @param model the model name
         * @return this request for method chaining
         */
        public LlmChatRequest setModel(final String model) {
            this.model = model;
            return this;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactory.java

     *
     * <p>This factory is responsible for instantiating concrete toolchain implementations
     * based on toolchain model configurations or default settings.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface ToolchainFactory {
        /**
         * Creates a toolchain instance from the provided model configuration.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/how-to/separate-openapi-schemas.md

    ### 文件中的輸入模型 { #input-model-in-docs }
    
    你可以在文件中確認,`description` 欄位沒有紅色星號,表示不是必填:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image01.png">
    </div>
    
    ### 輸出用模型 { #model-for-output }
    
    但如果你把同一個模型用作輸出,如下所示:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py hl[19] *}
    
    ...由於 `description` 有預設值,就算你沒有為該欄位回傳任何內容,它仍會有那個預設值。
    
    ### 輸出回應資料的模型 { #model-for-output-response-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. docs/zh/docs/how-to/separate-openapi-schemas.md

    事实上,在某些情况下,对于同一个 Pydantic 模型,OpenAPI 中会根据是否带有**默认值**,为输入和输出分别生成**两个 JSON Schema**。
    
    我们来看看它如何工作,以及在需要时如何修改。
    
    ## 用于输入和输出的 Pydantic 模型 { #pydantic-models-for-input-and-output }
    
    假设你有一个带有默认值的 Pydantic 模型,例如:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *}
    
    ### 输入用的模型 { #model-for-input }
    
    如果你像下面这样把该模型用作输入:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. docs_src/events/tutorial003_py310.py

        return x * 42
    
    
    ml_models = {}
    
    
    @asynccontextmanager
    async def lifespan(app: FastAPI):
        # Load the ML model
        ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model
        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 569 bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DockerBase.java

     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal;
    
    /**
     * This class models the different Docker base images that are used to build Docker distributions of Elasticsearch.
     */
    public enum DockerBase {
        CENTOS("centos:8", ""),
    
        // "latest" here is intentional, since the image name specifies "8"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java

     * under the License.
     */
    package org.apache.maven.model.normalization;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles normalization of a model. In this context, normalization is the process of producing a canonical
     * representation for models that physically look different but are semantically equivalent.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top